hi all,
have just installed this great software - its really nice.
i'm moving some data from another source. The BODY of those messages contain <P> for starting new paragraphs. If I import the data and view a thread, all is fine - it displays just like it did on the older software.
But if I edit the post, then the <P> will show up as literals in the message text (like it does show up here in this line).
I HAVE turned on the option to allow limited HTML in messages, yet this isn't interpreted as a HTML <P> tag.
that aside...
So, it appears from my tests that if a user wants to physically make a blank line between two paragraphs, he/she has to press enter twice and what gets stored in the database (viewed it in phpMyAdmin) is <b /> for each carriage return entered by the user.
I'm not saying anything is wrong or requesting some change in behavior, but I'll have to train/inform the entire user base just needs that moving forward, they have to hit enter TWICE to start a new paragraph (to have the same visual effect as the prior software).
Does this sound reasonable, or did i miss a setting somewhere?
It almost makes sense that I should convert any <P> tags to TWO <b /> tags when loading the data - that would also give it the INITIAL identical appearance, while supporting editing of the post.
thx
jaymer...
Well, yes, in most cases this would be fine:
UPDATE smf_messages
SET body = REPLACE(body, '<P>', '<br />');
You may want to use a WYSIWYG editor, then. To me, it seems completely logical that one return, just like in Word, is one line break.
-[Unknown]