Difference between revisions of "Test5554"
From FollowTheScore
m |
m |
||
Line 1: | Line 1: | ||
{{Issue | {{Issue | ||
− | |Type = Change Request | + | |Type = Change Request |
|Extension = DPL | |Extension = DPL | ||
|Version = ? | |Version = ? | ||
Line 33: | Line 33: | ||
}} | }} | ||
+ | If there is no line break in the resulted source code the surrounding ol tag is not added on chapter inclusion which causes the second div to break the layout. | ||
− | + | Or sth like that. Feel free to edit the Olli pages. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Reply == | == Reply == |
Revision as of 03:06, 2 May 2009
Description: | Ordered lists with leading question mark can break the layout with missing ol tag |
Extension / Version: | DPL / ? |
Type / Status: | Change Request / open |
Problem
Took me 8 hours to find the devil in a much more complicated code. Here's the issue: When you include chapters starting with an ordered list into divs (?) you should not forget the ending \n (?). Dunno exactly but compare:
{{#dpl: |category=Test3001 |include = ##.*Heading.* |format=\n,<div style="border:1px solid #aaa; margin:15px 0 5px 0">[[%PAGE%]],</div>\n, }}
User:Subfader/Olli2
- ?
- fghfh
- 456456
User:Subfader/Olli3
- jghjgjh
- fghfh
- 456456
{{#dpl: |category=Test3001 |include = ##.*Heading.* |format=\n,<div style="border:1px solid #aaa; margin:15px 0 5px 0">[[%PAGE%]],</div>, }}
User:Subfader/Olli2
- ?
- fghfh
- 456456
If there is no line break in the resulted source code the surrounding ol tag is not added on chapter inclusion which causes the second div to break the layout.
Or sth like that. Feel free to edit the Olli pages.