Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#25 2010-09-26 20:24:18
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Offline
#26 2010-09-26 20:42:45
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: [textile] Textile 2.2
net-carver
Yes. Thank you for your tips.
Why can affect a commented line the parsing process?
Offline
#27 2010-09-26 20:47:51
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: [textile] Textile 2.2
GugUser
I don’t know why — but the PHP parser seems to pick up the ?>
from the commented-out regex. If the regex isn’t commented out the parser correctly recognizes it as part of a string.
I don’t know if this is part of the PHP Parser’s defined behaviour.
— Steve
Offline
Re: [textile] Textile 2.2
net-carver wrote:
Your use of German quotation marks does raise some interesting localisation issues that will need some thought.
Offline
#29 2010-09-26 21:18:31
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: [textile] Textile 2.2
net-carver, an additional comment:
Five weeks ago I mentioned in the german forum that I would like a different replacement with either <abbr>
or <span class="caps">
, but not the two together. Because the <span>
within the <abbr>
together with a CSS rule, for example, abbr, .caps { font-size: .929em; }
has a double effect.
Moreover, the dual element (with my abbr instead of acronym) <abbr title="Content Management System"><span class="caps">CMS</span></abbr>
is not necessary in HTML.
I hope I can explain it with my poor English … ;-)
Offline
Re: [textile] Textile 2.2
Thanks for the feedback about the tests. I can imagine a set of tests being released that specify the version as well.
I don’t think this would hinder the development of new features if people felt there could be several versions floating around with tests that exercise each of them..e
Oh and on line 423:
‘/[([]3\/4[])]/’, // 3/2It should be:
‘/[([]3\/4[])]/’, // 3/4My worthless contribution… :)
Offline
#31 2010-09-27 10:44:14
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: [textile] Textile 2.2
typeshige wrote:
Oh and on line 423:
‘/[([]3\/4[])]/’, // 3/2
It should be:
‘/[([]3\/4[])]/’, // 3/4
Done in my repository.
— Steve
Offline
#32 2010-09-27 10:56:40
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: [textile] Textile 2.2
wet wrote:
Thanks for the pointer — lots of interesting discussion in that thread.
— Steve
Offline
Re: [textile] Textile 2.2
net-carver wrote:
lots of interesting discussion in that thread.
Seconded, thanks wet.
Although l10n has been partially fixed in Textile 2.2 with regards using the right quotes in the right places when using English quote systems and apostrophes it does need a bit more thought to make it better. This is doubly true given that it depends on the language in which the article itself is delivered, which may be distinct from the language in use on the admin side at save time (which is when Textile does its stuff).
Hmmm. Luckily the guy who dreamed up MLP is here to help :-)
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
Re: [textile] Textile 2.2
Great work. Any chance of changing <acronym> tag to <abbr> soon? Or is it straightforward for me to edit myself?
Offline
Re: [textile] Textile 2.2
philwareham wrote:
Any chance of changing <acronym> tag to <abbr> soon?
See this issue. And yes it’s pretty straightforward to edit. Just change line 435(ish) of lib/classTextile.php
from ‘acronym’ to:
'<abbr title="$2">$1</abbr>', // 3+ uppercase abbreviation
and I think that’ll do it. Untested.
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
#36 2010-09-27 14:23:55
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: [textile] Textile 2.2
Bloke wrote:
Hmmm. Luckily the guy who dreamed up MLP is here to help :-)
Humbug!
— Steve
Offline