Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-01-10 17:58:55

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

[textile] Textile v2.3 now available.

Hello all,

I’ve just pushed v2.3 up to the github master repository in case anyone wants it. This is a recommended update and Robert already has the changes in the Textpattern codebase.

Changes from v2.2 to v2.3 by contributor.

Jeff Soo…

  • Updated docs re colgroup/col declarations.

Netcarver…

  • Fixed comments. — thanks Typeshige.
  • Prevent PHP parser detecting a ?> script ending if the regex is commented out.
  • Allow spans within existing non-English quotation marks.
  • Add single chevrons and more single + double quotes.
  • No block attributes in restricted mode.
  • Improve block attribute sanitisation — re-allow language attributes in restricted mode.
  • Update htmlspecialchars.
  • Remove deprecated split().
  • Compare with ‘’ not empty() in case preg_ function fails.
  • Address center aligned cell content being treated as a table caption. Issue 6. Reported by PS.
  • Caption lines must be first line of table defs starting with a pipe ‘|’.
  • Bugfix: Note-style links can now use index 0. Thanks jackysee. Closes issue 5.
  • Allow recovery from colgroups missing closing pipe.
  • Allow pipe closure of captions for consistency.
  • Add spanned quotes test cases with literal non-English quotation marks.
  • Added README.
  • Added a contact section to README.textile.
  • Added translations section to README.textile.
  • Fix issue 19. The unicode regex was allowing the class to be captured as part of the note label.
  • Improve lang, style, class & id handling.
  • Don’t allow potential DoS in cleanba().

Robert Wetzlmayr…

  • Encode quotes in restricted mode.
  • Add rel attributes to linked images.

Upgrading An Installation

Simply overwrite your site’s existing classTextile.php file with the one pulled from github.

Batch Upgrade A Site’s Articles.

If you used an older version of textile in one of your sites, and you’d like to re-encode all of your articles with the latest version of textile you now have two options available. Gocom’s offering is here, and there is a compiled plugin here. Either one should work for you. Please note that batch upgrade of a site’s articles is not required in order to use v2.3 going forward — you only need to do it if you used some textile features in your articles that didn’t work properly in older versions (such as lists.)

My thanks to all who contributed to textile v2.3!

Edit. updated outdated links -Gocom

Last edited by Gocom (2014-04-16 08:59:54)


Steve

Offline

#2 2012-01-11 09:15:02

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

Re: [textile] Textile v2.3 now available.

Awesome work. Many thanks to everyone involved.


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

Online

#3 2012-01-11 09:31:09

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

Re: [textile] Textile v2.3 now available.

This is wonderful. Thanks!


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

Offline

#4 2012-01-11 10:21:12

trenc
Plugin Author
From: Amsterdam
Registered: 2008-02-27
Posts: 571
Website GitHub

Re: [textile] Textile v2.3 now available.

Nice work! Many thanks.

Offline

#5 2012-01-11 18:07:13

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [textile] Textile v2.3 now available.

Great work Steve, Jeff and Robert

Is it true that we have definition lists now ?

Offline

#6 2012-01-11 18:36:48

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [textile] Textile v2.3 now available.

pieman wrote:

Is it true that we have definition lists now ?

Definitions this one has indeed.

; Sweetroll
: Running gag in Bethesda's video games. Some might even know it as eatable item.

Offline

#7 2012-01-12 13:11:14

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: [textile] Textile v2.3 now available.

Will http://textile.sitemonks.com/ be updated to 2.3?
Or will there be another page comparing output of 2.2 vs. 2.3?


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#8 2012-01-12 19:59:22

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

Re: [textile] Textile v2.3 now available.

merz1 wrote:

Will http://textile.sitemonks.com/ be updated to 2.3?
Or will there be another page comparing output of 2.2 vs. 2.3?

No, the sitemonks sandpit site isn’t updated yet, but sorting this out is on my to-do list.


Steve

Offline

#9 2012-01-13 10:40:59

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: [textile] Textile v2.3 now available.

I just upgrade a site from textile 2.0 to the last release.
To apply the new lib to the existing articles, I must open then save each article.
Have you a way to apply the new textile to all the articles in one time ?

Offline

#10 2012-01-13 11:17:48

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

Re: [textile] Textile v2.3 now available.

jpdupont wrote:

I just upgrade a site from textile 2.0 to the last release.
To apply the new lib to the existing articles, I must open then save each article.
Have you a way to apply the new textile to all the articles in one time ?

Sorry, no, I don’t have a batch update tool — however, you should be fine with just updating the library and not your articles (unless you need some of the newer features in those articles.) Most of the important fixes in this release are to do with textile’s use in restricted mode and that really only impacts the commenting system in Textpattern.


Steve

Offline

#11 2012-01-13 12:42:18

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: [textile] Textile v2.3 now available.

Any plans for an updated Textpattern 4 on the horizon that includes newer textile?


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#12 2012-01-13 14:51:35

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: [textile] Textile v2.3 now available.

Steve, the problem is not to upgrade from 2.2 to 2.3, but from 2.0 to 2.2 or 2.3 !
I have many articles ( > 200) with bugs in lists (ul / h3 / ul / h3 …) in previous textile version. Alls bugs corrected now in 2.2/2.3, but we need to rebuild all the “body html” field of the database …

Offline

Board footer

Powered by FluxBB