1

Resolved

List Shape <li> elements should output to new lines

description

Hi, so after spending ages trying to figure out a CSS issue, I discovered that the problem laid in the actual markup.

What I was trying to do isn't so important, but here's a stripped back example. List elements for some reason must be on new lines.

I'm probably not going to be the only one with this issue as Orchard grows in popularity, and fortunately the fix is super easy.

Orchard.Core/Shapes/CoreShapes.cs Line 709:
Current: Output.Write(itemTag.ToString(TagRenderMode.EndTag));
Fix: Output.Write__Line__(itemTag.ToString(TagRenderMode.EndTag));

comments

pszmyd wrote Jun 9, 2013 at 5:10 AM

Fixed in changeset aca35dd10cbe

justrhysism wrote Jun 10, 2013 at 9:49 PM

Thanks!

sfmskywalker wrote Mar 28 at 12:28 AM

Fixed in changeset f63772bf63c021aaf5feadd7d199221b31ccddf3