Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-30 01:56:02

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

definiton lists and textile

I have a problem when i want to add a dl to my text because textile wraps it with a paragraph tags and it is frustrating, like it’s not enought that it fails misrably when i want to get strong like this šta. (read any of the šđžčć characters).

how come it doesn’t wrap pre in a paragraph but it wraps any other hand coded html that has a blank line before and/or in front of?

Offline

#2 2005-12-30 02:45:41

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: definiton lists and textile

As the FAQ says, please give us some specific and exact examples of your input and output. Use pastebin if you’re having trouble posting Textile or HTML on the forum.


Alex

Offline

#3 2005-12-30 03:11:06

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: definiton lists and textile

As stated in the FAQ (I believe), to post pure html with Textile (and avoid the <p> wrapping) start the html lines with a space character. It will prevent Textile parsing/wrapping.

Offline

#4 2005-12-30 03:14:08

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: definiton lists and textile

btw, *šđžčć* works just fine here.


Alex

Offline

#5 2005-12-30 08:59:37

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: definiton lists and textile

^ they work here, I saw that before, I had no problems before neither, it’s like textile used here is better than the one you put in the TXP. :)

Sorry, I didn’t want to sound like I am bitching, I was just frustrated loosing half an hour cleaning up and hacking away what should’ve been valid textile code every time I finish an article. So my apologies if I have caused some trouble.

On a sidenote, that acronym plugin does exactly the same thing, e.g. we have a word in Serbian “završim” (to finish), and every time I write that word the plugin wraps the last two characters “im” with an acronym and adds it a title “Instant Message”. So I’ve figured out every time that the first character is not a standard one—textile and/or acronym plugin won’t parse correctly. :(

Offline

#6 2005-12-30 09:29:00

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: definiton lists and textile

If you look at the release notes for 4.0.3, you’ll see that there were improvements for i18n in textile. I am sure an update of your textpattern install, will bring you (closer to) the behaviour you’re expecting with respects to non-ascii characters.

Offline

#7 2005-12-30 09:30:46

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: definiton lists and textile

so I can just replace the classTextile.php to get it?

Offline

#8 2005-12-30 14:50:29

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: definiton lists and textile

Well, upgrading everything, not just Textile, is a good idea.

Offline

#9 2005-12-30 23:35:30

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: definiton lists and textile

By “here” I meant on my stock copy of Textpattern 4.0.3.

The problems with the acronym plugin aren’t caused by Textpattern itself, you’ll need to address those to the plugin author.

Regarding the dl problem: upgrade to 4.0.3, and show us an example if you’re still having problems.


Alex

Offline

#10 2005-12-30 23:39:49

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: definiton lists and textile

Of course the acronym prob isn’t on you guys to fix, I was just mentioning it because it maybe mattered, no big deal.

I will post here as soon as I update, no time right now.

Happy new year!!! :)

Offline

Board footer

Powered by FluxBB