This project is read-only.


List Shape <li> elements should output to new lines


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));


pszmyd wrote Jun 9, 2013 at 6:10 AM

Fixed in changeset aca35dd10cbe

justrhysism wrote Jun 10, 2013 at 10:49 PM


sfmskywalker wrote Mar 28, 2014 at 1:28 AM

Fixed in changeset f63772bf63c021aaf5feadd7d199221b31ccddf3