- ๐ฌ๐งUnited Kingdom oily Greater London
I just hid a branch because the ...11.x branch is the active one..
- ๐ฉ๐ชGermany jan kellermann
I created a new issue fork and MR for D11: https://git.drupalcode.org/project/drupal/-/merge_requests/12682
I collected the existing patches and merged them in this issue fork.
I uploaded the patch for your composer-patch as 3326684-42.patch
But this is only the mitigation. As @geek-merlin wrote in #37: behind every warning waits a bug that should have been fixed before.
- ๐ฉ๐ชGermany jan kellermann
jan kellermann โ made their first commit to this issueโs fork.
- ๐ซ๐ทFrance nod_ Lille
Committed and pushed 72c39ca98ec to 11.x and dce32095c10 to 11.2.x and 0f3a62ab851 to 10.6.x and f0525143a35 to 10.5.x. Thanks!
- ๐ซ๐ทFrance erwangel
Set following fields:
- "Content: Image"
- "Content: Authored by" [hidden] and in "Style settings" Customize field HTML "EM"
- "Content: Authored on" with "Rewrite results"{{ uid }} - {{ created }}
Already here "Authored on" lost its EM while "Strip HTML tags" is "off"
- "Content: Title" and in "Style settings" Customize field HTML "H3"
All fields have "Add default classes" in "Style settings"Format as table with:
Content: Image in column Content: Image
Content: Authored on in column Content: Title
Content: Title in column Content: TitleResults to a
<td>
where: "Authored by" loses its "EM" tag and the rewritten "Authored on" is wrapped in the Title's H3!
<h3>Author's name - Date <a href="article link">Title</h3>
Even if we wrap "Authored on" in a div it remains inside the title's H3
- Content: Authored on with "Rewrite results"<div><em>{{ uid }}</em> - {{ created }}</div>
Result:<h3><div><em>{{ uid }}</em> - {{ created }}</div> <a href="article link">Title</h3>
The only way to overcome is to manually group and format everything in title's "Rewrite results"
<div><em>{{ uid }}</em> - {{ created }}</div><h3>Title<h3>
So I see two problems: one with rewriting, where customized html tag is lost, and the second with table format where grouping fields in a column strips previous html and wraps fields in the last field's tagging.
Anyway one would expect that each field preserves its own html tagging ans style settings unless it is specified to "Strip HTML tags". Automatically closed - issue fixed for 2 weeks with no activity.
- First commit to issue fork.