Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-01-23 17:48:30

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

minor issue with textile

Maybe textile is not meant to be used like this but I came across a minor issue with the following

"Linked text":<txp:permlink id="##" /> 

The permlink is parsed just fine but the quotes turn into smart ones.

With the restructuring of our site, I thought that it was best that I used permlinks in order to allow for any future changes.

This works just fine in the write pane.

==<txp:permlink id="##">Linked text</txp:permlink>==

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2020-01-23 17:56:06

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

Re: minor issue with textile

No it’s not meant to be used like that! :) I’m surprised it worked as well as it did and only changed the quotes instead of smashing things up further. That’s testament to the focus of the regexes behind the engine, I guess.


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 2020-01-23 19:07:43

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: minor issue with textile

Bloke wrote #321302:

No it’s not meant to be used like that! :) I’m surprised it worked as well as it did and only changed the quotes instead of smashing things up further. That’s testament to the focus of the regexes behind the engine, I guess.

Working to the degree that it did was what surprised me too! In fact it was ever so close to work that I thought that it might be a bug.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB