Remove some automatic HTML reformatings
-
Hi!
In HTML edit mode, there are two HTML automatic reformating behaviors very annoying when I paste HTML code from my html editor:
- Text lines are cut.
It is completly useless and a real headache. - Spaces at the beginning of the lines are removed.
That is a pain with programming texts (they contain vertical alignments on all lines).
These two reformatings are useless and forces me to re-edit all the text by hand.
I waste 15 minutes to reformat it at least.Thank you
The blog I need help with is: (visible only to logged in users)
- Text lines are cut.
-
Hm.. please forget the first suggestion as it was a problem with my html editor (Kompozer). For the second, it is unclear for now.
Sorry.
-
-
If you are trying to post sourcecode, are you using the procedure outlined here: http://en.support.wordpress.com/code/posting-source-code/ ?
-
Thank you for the answer.
I think there is a bug in Kompozer, so I will search for a workaround.
-
OK, there is something in WP that causes a problem:
The line feedings are not taken in account in a HTML navigator while they are converted into new lines by WP.Example:
This HTML source code:
rlmhkjmdfjh oij dhodrij horitj hoprijg rsgioj perjigozjreg porjg
eoprjeg oprjegopzjegpor ejgoirej goirje gopzrjge opzjreoirej goprjeg
oerjig orjegozejg ojreg oirejg oprjg oprgji eorgj porjzgeop
zrjgeipozjrg opi zporgji zporgj zporgjpzgij zreigj oierjg opzje
rgopzjge opzrjgeiopzjregoizje gpozjg zporjg ^zoegij zorgji zorgji
zprgji zerjgi zergji zpergi zeorgjisoîrvnzop,fvô qesc,^ij,x ôi,dv
osrven opixvn pos vopsj vfporvj oisrjv.is displayed as one long text line by an HTML navigator.
But WP convert it in 7 lines.
Technically, WP has converted every0x0d+0x0ain. -
-
-
So for now I have to replace all “rn” (0x0d+0x0a) into ” ” (one space) before pasting any HTML code to WP. That is only a workaround.
I hope that will be corrected in WP. :)
Thank you
- The topic ‘Remove some automatic HTML reformatings’ is closed to new replies.