Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [textile] Error in parsing *text* if line ends with cyrillic char
Stef – I thinks so too, but what to do? I can’t change nor php version, nor hosting…
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: [textile] Error in parsing *text* if line ends with cyrillic char
Hmmm, dunno. Am I right in thinking that the part of classTextile that handles this are the span() / fSpan() functions? If it’s those then there’s not much in terms of PHP code that can go wrong unless preg_callback_replace, list or perhaps preg_match have changed in later versions of PHP.
It looks to my untrained eye that a few elements are parsed by these same functions so, out of curiosity, is it just *strong* elements that are affected or does it exhibit the same behaviour with, say, bold (**)? Or strike-through?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: [textile] Error in parsing *text* if line ends with cyrillic char
It’s not the PHP version either. I tested on a different server with PHP version 5.2.5 and couldn’t reproduce it there.
Offline
Re: [textile] Error in parsing *text* if line ends with cyrillic char
Bloke wrote:
Hmmm, dunno. Am I right in thinking that the part of classTextile that handles this are the span() / fSpan() functions? If it’s those then there’s not much in terms of PHP code that can go wrong unless
preg_callback_replace,listor perhapspreg_matchhave changed in later versions of PHP.It looks to my untrained eye that a few elements are parsed by these same functions so, out of curiosity, is it just *strong* elements that are affected or does it exhibit the same behaviour with, say, bold (**)? Or strike-through?
bold and strike-through don’t work too when word ends at specific symbol..
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline