BR tag
-
Hi,
I try to insert a
tag, but each time I save my post that tag is gone. How is that so ? How can I insert a breaking line in WordPress?Regards,
PintarPHP
-
I hadn’t played with line breaks yet, so I hadn’t noticed this. I just did a quick test, and it appears that wordpress’ editor hands us breaks as simply a carriage return. Paragraph breaks are represented by a blank line in many cases. I suspect it’s intended to help the HTML-phobic, much like the wiki syntax on Wikipedia. :-)
To put one in, just hit ENTER and put more text on the next line. WordPress will generate the
tag in this context. When it shows you your code in the editor, it seems to convert all line breaks into this type of “adjacent paragraph” representation, whether they were entered that way or with the
tag. -
(And the forum ate my [br] tags with character entities for < and >, despite the fact that br isn’t listed in the allowed markup. Sheesh.)
- The topic ‘BR tag’ is closed to new replies.