Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2024-08-11 16:10:57

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,210
GitHub

Should an article preview parse 'txp:' tags?

I have an article with Textile and txp: tags in it. When I preview the article from the admin-side, the Textile tags are parsed correctly, but the Textpattern tags are left as inline text, albeit in a different colour.

Is this expected? It looks…odd. Is there a setting I can change to enable txp: tag parsing in preview mode?

Thank you.

Offline

#2 2024-08-11 17:08:26

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,408
Website GitHub

Re: Should an article preview parse 'txp:' tags?

Does unchecking the Sanitize checkbox change anything?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2024-08-11 17:29:59

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,210
GitHub

Re: Should an article preview parse 'txp:' tags?

Bloke wrote #337579:

Does unchecking the Sanitize checkbox change anything?

Where do I find the Sanitize checkbox, please?

Edit: ah, now I see Sanitize on the dev code, not in production – ignore me!

Last edited by gaekwad (2024-08-11 17:31:11)

Offline

#4 2024-08-11 17:33:44

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,210
GitHub

Re: Should an article preview parse 'txp:' tags?

Closing – it looks like 4.9.0 will solve this.

Thanks, Bloke!

Offline

#5 2024-08-12 01:03:31

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

Re: Should an article preview parse 'txp:' tags?

On 4.9 you should have two options (checkboxes): one to parse the txp:tags and one to sanitise tags e.a.

The first one is very useful when editing articles that are already live, before saving anything – which would push the content to full public view.


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