Rich Text in Listphile

We’ve had the ability to use HTML on your lists for a while now. This seemed a reasonable format since a lot of people know HTML and any WYSIWYG editor we may add should work in this mode. But, HTML isn’t very friendly. Paragraph formatting and special characters need too much attention. We fixed this by changing the rules of HTML just a little. Since we needed to filter certain tags we had already started down that road.

Listphile’s HTML rules:

Supported tags: a, br, hr, p, tt, b, i, sub, sup, pre, blockquote, q, em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, dl, dt, dd, ul, ol, li. You must use close tags. For example, HTML allows “<ul><li>one <li>two</ul>” but Listphile requires “<ul><li>one</li> <li>two</li></ul>”.

Don’t escape special characters. The correct HTML for “Jack & Jill > Hill” is “Jack & Jill > Hill”. On Listphile, just use “Jack & Jill > Hill” and Listphile will do the right thing. The &, <, and > tags are available if you need them.

Listphile will turn linefeeds into paragraph structure. You don’t need to wrap paragraphs in <p></p> tags. Just leave a blank line, by pressing return twice, to separate your paragraphs. A single linefeed (pressing return once) will be converted to a <br>. If you prefer manual control, just wrap everything in <p> tags the way you want and we won’t process your linefeeds.

There are three places you can use rich text. The list description, item comments, and any multi-line text field such as the item description. Have fun.

Leave a Reply