textpattern/pophelp

Textile parsing on `pophelp`

petecooper opened this issue · 2 comments

Should an empty line between two paragraphs translate into a paragraph break with </p> and <p> when pophelp text is being processed?

Take help/en-gb/prefs/syndicate_body_or_excerpt.textile as an example. The code comprises:

h1. Preferences: Syndicate article excerpt only?

If this is set to 'No', then feeds will always contain the full article bodies.

If this is set to 'Yes', feed items will contain the article excerpt instead of the article body where it is available.

That renders on rpc.textpattern.com without a paragraph break, like this:

<h2>Preferences: Syndicate article excerpt only?</h2>
    <p>If this is set to ‘No’, then feeds will always contain the full article bodies. If set to ‘Yes’, feed items will contain an excerpt instead of the article body where it is available.</p>

So, no paragraph break between the two blocks of text. Should each of the paragraphs have explicit p. tags, or is something wonky in the Textile parsing?

The pophelp changes need to be manually updated (by me) which I've done now. This repo serves as a record of those changes and also will be used when we break free from the RPC in a future Textpattern update (text files are planned to be shipped within the installation zip, along with textpack files too).

I've just updated the RPC with your latest changes to the pophelps so check again.

Closing for now, if you spot anything wrong please reopen.

Cheers, Phil - appreciate the clarification.