Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2024-11-14 06:39:09

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

Re: [SOLVED] trim bug in shortcode?

Thanks so mu Oleg. Trimming twice seems simpler… and works as intended!


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

Offline

#14 2024-11-16 07:40:56

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

Re: [SOLVED] trim bug in shortcode?

I’m adding to this thread as, beyond links, I had other issues with horizontal scrolling which I resolved with <wbr>, as explained on codersblock.com/blog/deep-dive-into-text-wrapping-and-word-breaking/. I opted not to use hyphenation as &shy; looks like a hyphen, and it is very confusing in cases like email addresses or non linked urls.


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