html stripping?
-
Why when i paste my columns into WP does it strip the embedded html in the story?
-
It’s how they designed it. Only the developers can tell you that.
You ought to look into Alex King’s WP Unformatted plugin (works in 1.5).
Or you could just try turning off “WordPress should correct invalidly nested XHTML automatically” under Options > Writing.
No, WordPress will not “strip” html code. But it will screw with it a little bit.
For example, it will put in line breaks
<br />if you have one in the html, it will add spaces between> <sometimes, which makes things painful sometimes.You can override this with Text Control plugin by setting the global defaults to NO FORMATTING or customize each post individually.
Actually it just removed the embedded HTML in the posts. I had to go back in an add it back in. it was allot of links too. It turned it back into plain text.
So which is it. can I just turn it off or do I need the plugin?
The point we all sort of made, indirectly, is that WordPress normally doesn’t strip out html tags entered in a post. It can play havoc with them if they’re seen to be invalid in some way, but if they’re completely stripped out, something else is going on in the background.
Running any text-formatting plugins?
No pluggins except recent posts on right column.
It happened when copying from word into the post area of WP. evry single link was gone in numerous messages. Not messed up. plain old completely gone. I always compose in word run the spell and grammar checker then copy and paste to the blog and publish.
I just tried it again. It won’t let me paste the embedded code into the post window. after the paste it is gone.
If you’re talking about the embedded link (i.e. in Word, click on “hyperlink” to create a link on a certain word/phrase) then no, it won’t do that. WordPress isn’t a WYSIWYG editor, so there’s no way for it to parse that information to tell what is a link and what’s not.
If you type out the link code in Word (i.e. link text) then it will keep your link tags.
Shoot…this auto-formatting thing…
<a href="link">Link</a>
The topic ‘html stripping?’ is closed to new replies.