Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-02-10 06:20:22

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

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

#2 2016-02-10 08:56:03

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

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

#3 2016-02-11 23:46:22

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

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 commentsNo / 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

#4 2016-02-12 07:09:54

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Textile markup in Comments, headings, extended block syntax

So it’s round the wrong way, yes?

Offline

#5 2016-02-12 07:19:36

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

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

#6 2016-02-12 07:26:55

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

Re: Textile markup in Comments, headings, extended block syntax

BTWGithub 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

Board footer

Powered by FluxBB