Re: [TYPO3-english] lib.parseFunc - P without newline (char10) or encaps every line

2012-03-03 Thread Martin Kokes
Thank you Stanislas, it works as expected, every line gets wrapped with '|'+ but there's still something wrong with generated code (unterminated string literal): This RTE HTML code: First paragraph with TS from Stanislas Second paragraph with TS from Stanislas Third paragraph with TS from Stani

Re: [TYPO3-english] lib.parseFunc - P without newline (char10) or encaps every line

2012-03-03 Thread Stanislas Rolland
Hi Martin, I found how to encapsulate whole RTE content: myspecialjs.parseFunc_RTE < lib.parseFunc_RTE myspecialjs.parseFunc_RTE.nonTypoTagStdWrap.wrap = '|'+ But I can't find how to encapsulate every line. Perhaps, something like: myspecialjs.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.non

[TYPO3-english] lib.parseFunc - P without newline (char10) or encaps every line

2012-03-03 Thread Martin Kokes
Hello list & group, I need to prepare some HTML code for ExtJS panel with fluid (parseFuncTSPath="myspecialjs.parseFunc_RTE">) so I need to generate JS code in this way: --- var myContent = ''+ /* here comes my HTML from RTE */ 'Some content'+ ''; --- Everything works until I have RTE content