Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-04-30 15:48:26

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

[textile] Backwards apostrophe after abbreviation

Is this expected behaviour or a bug? And is there a workaround?

Textile:

NATO(North Atlantic Treaty Organization)'s manifesto isn't up to much.

Result (ish — with semicolon’s removed so Textile doesn’t replace the numbers with the entity):

<acronym title="North Atlantic Treaty Organization"><span class="caps">NATO</span></acronym>&#8216s manifesto isn&#8217t up to much.

Methinks it should be an 8217. Anyone else? Tested in both vanilla 2.2 and 2.3.2. If it’s a bug I’ll raise a ticket but I wondered if I was being dim and not seeing the obvious workaround or error of my ways. Thanks.

Last edited by Bloke (2012-04-30 15:50:09)


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

#2 2012-04-30 15:53:48

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: [textile] Backwards apostrophe after abbreviation

It should be an #8217. Getting the same result as you where it’s outputting an #8216 instead – Textile 2.3.2

Last edited by philwareham (2012-04-30 15:55:39)

Offline

#3 2012-04-30 16:59:23

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [textile] Backwards apostrophe after abbreviation

Stef,

By all means raise an issue on the tracker, probably the best place for it, but do let me know which version you are using when you make the report. I have a few fixes/features on the boil at the moment so I may get the chance to look at this.


Steve

Offline

#4 2012-05-01 08:51:35

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [textile] Backwards apostrophe after abbreviation

Update: There is a tentative fix for this over on github now should anyone wish to try it.


Steve

Offline

#5 2012-05-01 08:55:29

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

Re: [textile] Backwards apostrophe after abbreviation

Thanks Steve, been hammering away at it this morning and so far it’s looking great. Much obliged, Sir.


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

#6 2012-05-01 11:24:28

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [textile] Backwards apostrophe after abbreviation

Thanks Stef, committed to the master branch now.


Steve

Offline

Board footer

Powered by FluxBB