In the <pg-image> the copyright, source and caption fields are displayed as <div slow="slot_name"> even if no content is present for those fields.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | no_empty_slots-3063929-5.patch | 1.31 KB | aludescher |
| #3 | no_empty_slots-3063929-3.patch | 1.31 KB | aludescher |
Comments
Comment #2
aludescher commentedComment #3
aludescher commentedComment #4
fagothx, I see another problem here - the use of "p" tags. p tags may not be nested, thus we cannot use it for fields that may contain html. Let's convert them to use "div" at the same go.
Comment #5
aludescher commentedGood point, here it is with div tags.
Comment #6
fagothx, that works - committed.