I'm not sure why but what gets added by VFE for empty lines are actually two characters, not one, 0xC2 0xA0 (or 194,160 in decimal).Btw, circumflex Â(194) is the first one, 160 is If that's acceptable in your case, you can remove <p> Tag, for whatever reason this garbage goes away with it.Needless to say, that would not change DCRs that have been already saved, extra characters are real, not just VFE Dispaly rendered[html] p SPAN[/html]
Hmm - well, I don't know enough about how the various folks at this site compose their content in the VFE field to know if there are other P tags that might be needed within the body of the text - so I think we'll stick with the "masking" fix for now and just make sure the encoding is set to UTF-8.Thanks.
Please note that configurational change I've proposed is quite benign, it'll remove empty Paragraphs only (I haven't emphasised that originally).Something like <p>Ghoti</p> will not be affected. If however your Contributors use empty Paragraphs for formatting - tough luck
The * is a non-breaking space. The encoding should be utf-8. It's not masking any problem. The two bytes mentioned are the non-breaking space character encoded as UTF-8. The "A" character only appears when the encoding is not utf-8, which is mismatch in encoding.BTW, there should be one 'remove' tag, which can have multiple tags within it.
wrt to masking problems - you're wrong...
The two bytes mentioned are the non-breaking space character encoded as UTF-8
ghoti, perhaps I misunderstood the problem. My explanation addressed the problem where non-breaking spaces are displayed as "A". Non-breaking spaces are sometimes inserted in order to retain regular spaces in circumstances where the document object model (DOM) would remove regular spaces, such as inserting HTML. It's an unfortunately necessary inconvience, but preferrable to having a space removed.
This explanation is not likely to provide satisfaction because it does not fix the problem. Hopefully, however, it will shed more light on the situation. The Visual Format editor is built on the IE editing engine (i.e., mshtml.dll). The IE engine has an observed defect where leading and/or trailing spaces are sometimes lost when calling the DOM pasteHTML method. The workaround in the editor is to replace leading/trailing spaces with a non-breaking space, which is not lost. The effect is that some spaces are converted to non-breaking spaces. This workaround is coded in the editor; it's not configurable. A non-breaking space is better than no space at all.If the non-breaking spaces are a problem, you can write some code to replace all non-breaking spaces with regular spaces. This would, of course, remove all non-breaking spaces intentionally inserted by the author, so the nbsp button should be removed in the visualformatconfig.xml file.-Doug
clean charencode="entityname" cr="cr" lf="lf" showonsize="5000" preferfonttag="false" reducetags="true" showdonemsg="true" prompt="true" hideobject="true" mswordfilter="true" feedbacklevel="2"> remove> tagWoAttr>SPAN/tagWoAttr> /remove> xsltFilter src="[eWebEditProPath]ektfilter.xslt" /> /clean>
Alternatively, when can we expect that TinyMCE will allow us to add custom buttons (we would have transitioned to it when we upgraded to 671, but we have customer buttons that apparently can't be included in TinyMCE)?
so what was the solution?