Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-11-25 07:10:06

kroesss
Xinha Community Member
Registered: 2007-10-15
Posts: 16

force xinha to use <p>

Hi all,

When Xinha loads in an empty textarea, and I start to type, xinha doesn't automaticly add a <p>-tag to the text. In my opinion, this should be done. If I hit enter, it adds the <p>-tags, but I think it should be added immediatly. I could hit the submit-button without hitting Enter, and then the text entered would be incorrectly formatted when I use CSS on the p-tag.

I hope it is a little bit clear what I mean, my english isn't very good...

Offline

#2 2007-12-01 11:46:14

kroesss
Xinha Community Member
Registered: 2007-10-15
Posts: 16

Re: force xinha to use <p>

anybody?

Please also post a reply when the you don't understand the question. I'll try to explain it in other words then.

Offline

#3 2007-12-06 12:30:17

Practicality
Xinha Community Member
Registered: 2007-02-15
Posts: 24

Re: force xinha to use <p>

I have run into this as well. I usually run all my text through SuperClean.  (http://xinha.webfactional.com/wiki/SuperClean)

It fixes these situations.

There are many other "cleaning" things that are probably necessary to make the HTML more standardized, as in different browsers you get different results with extra spaces, <br>'s, span tags and other anomalies. I actually run the text through a whole slew of regex's before posting.

Offline

Board footer

Powered by FluxBB