}
if (this.in_inline) {
- text = text.replace(/\s+/g,' ') // all white space inc line breaks to a slingle' '
+ text = text.replace(/\s+/g,' '); // all white space inc line breaks to a slingle' '
if (text != ' ') {
- text = text.replace(/\s+/,' ') // all white space to single white space
+ text = text.replace(/\s+/,' '); // all white space to single white space
// if next tag is '<BR>', then we can trim right..
Roo.htmleditor.TidyWriter.inline_elements = [
'SPAN','STRONG','B','EM','I','FONT','STRIKE','U','VAR',
- 'CITE','DFN','CODE','MARK','Q','SUP','SUB','SAMP'
+ 'CITE','DFN','CODE','MARK','Q','SUP','SUB','SAMP', 'A'
];
Roo.htmleditor.TidyWriter.shortend_elements = [
'AREA','BASE','BASEFONT','BR','COL','FRAME','HR','IMG','INPUT',