Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-05-16 08:12:37

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

differently behaving textile

hi

can anybody explain to me: why this link "BelEtage":http://halbmond.de/fileadmin/halbmond/Files/Produkte/Kollektionen/01%20Hotel/BelEtage_Halbmond_Einzelseiten.pdf works well in txstyle ,but don’t in my site which uses latest textpattern 4.5.7?

Offline

#2 2015-05-16 08:29:51

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

Re: differently behaving textile

Hi Gallex, you have the address wrong in your site.

http://halbmond.de/fileadmin/halbmond/Files/Produkte/Kollektionen/01%2520Hotel/BelEtage_Halbmond_Einzelseiten.pdf
http://halbmond.de/fileadmin/halbmond/Files/Produkte/Kollektionen/01%20Hotel/BelEtage_Halbmond_Einzelseiten.pdf

In your site you have: 01%2520 but the one that works is 01%20


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

Offline

#3 2015-05-16 09:19:01

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: differently behaving textile

where this 25 comes from?? exact text i wrote to site’s textile:

Click "BelEtage":http://halbmond.de/fileadmin/halbmond/Files/Produkte/Kollektionen/01%20Hotel/BelEtage_Halbmond_Einzelseiten.pdf

but if i look at textile’s “view html markup” – 25 is added!

i don’t get it… :(

Offline

#4 2015-05-16 09:31:00

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: differently behaving textile

space => urlescape => %20 => urlescape => %25 (escaped percentage character) + 20 = %2520

So it’s urlescaped twice…

Offline

#5 2015-05-16 11:56:19

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: differently behaving textile

but what to do, what’s my options? what you suggest…

am i really only one who’s textile behaving like that?

Offline

#6 2015-05-16 12:26:04

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: differently behaving textile

Try replacing textpattern/lib/classTextile.php with the 4.6 version

Offline

#7 2015-05-16 12:49:14

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: differently behaving textile

After years of use I’ve discovered that this is not italic but emphasized and that is not bold but strong… :|

(Anyway it seems that they have the same CSS class)

Last edited by candyman (2015-05-16 12:53:41)

Offline

#8 2015-05-16 13:33:23

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: differently behaving textile

ruud wrote #290827:

Try replacing textpattern/lib/classTextile.php with the 4.6 version

much better! :) thank’s a lot ruud!

Offline

#9 2015-05-17 13:45:09

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

Re: differently behaving textile

ruud wrote #290827:

Try replacing textpattern/lib/classTextile.php with the 4.6 version

PHP-Textile 2.5 and newer are not backwards compatible with >=2.4 (as used by Textpattern 4.5.7), tho and you’ll run into some issues. At minimum you would have to write a b/c wrapper that sets Textile::setRelativeImagePrefix() (as done in Textpattern 4.6).

Offline

#10 2015-05-18 11:05:24

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: differently behaving textile

Gocom wrote #290850:

PHP-Textile 2.5 and newer are not backwards compatible with >=2.4 (as used by Textpattern 4.5.7), tho and you’ll run into some issues.

copied it into one more site and got some internal errors if production status was set to ‘testing’. changed it to ‘live’ and no errors anymore. so far… ;)

At minimum you would have to write a b/c wrapper that sets Textile::setRelativeImagePrefix() (as done in Textpattern 4.6).

don’t get what exactly i need to do…

ps. how long it will take we can download 4.6 version – can anybody predict?

Offline

Board footer

Powered by FluxBB