Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Textile markup in Comments, headings, extended block syntax
Is there a list of allowed Textile markup in Comments?
According to the help text (and the note on the Wiki), headings, extended block syntax, … are only allowed when the relevant pref (Allow more Textile markup in comments?) is set to yes. However, testing with 2 different TXP 4.6 dev installs locally shows that those are accepted independently of the setting.
Or is that pref settings somehow broken?
I tried to read through the relevant PHP code, but that appears way above my knowledge.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Textile markup in Comments, headings, extended block syntax
Hmm, puzzling. After toggling the pref once more — and logging out of Textpattern — the default behaviour seems restored, except for the bc..
tag (block code), which remains in use. I shouldn’t, going by the available documentation.
Perhaps I spoke too soon…
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Textile markup in Comments, headings, extended block syntax
Ok, after sleeping over it and testing this a bit more (on an absolutely default, fresh 4.6dev install…), it seems there is an issue with that specific preference (Preference panel > Comments).
The entry reads Allow more Textile markup in comments – No
/ Yes
. By default the No is selected. My understanding is that this means (NO selected): only basic – mostly inline – markup is allowed.
With those settings, on a TXP 4.5.x, only basic Textile markup is indeed allowed. On TXP 4.6.dev however, the whole array of Textile markup can be used in a comment. Check the “Yes” checkbox, and now only basic Textile markup is allowed.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Textile markup in Comments, headings, extended block syntax
So it’s round the wrong way, yes?
Offline
Re: Textile markup in Comments, headings, extended block syntax
philwareham wrote #297833:
So it’s round the wrong way, yes?
I would say yes …
Unless my English is suddenly getting much worse that it usually is, and I misunderstand that label
, Yes
should mean, “allow extended Textile markup” — as it does with TXP 4.5.x.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Textile markup in Comments, headings, extended block syntax
BTW – Github issue.
Oh, and while I am a it: Comment woes: <txp:comments_error /> returns nothing
issue.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline