зеркало из https://github.com/mozilla/pjs.git
Modified edt_InitEscapes() to check for '>'. This will make composer write
out > into the HTML stream instead of the '>' character.
This commit is contained in:
Родитель
25ee0ea136
Коммит
834a91aa73
|
@ -1353,7 +1353,7 @@ void edt_InitEscapes(int16 /*csid*/, XP_Bool bQuoteHiBits){
|
|||
while( pEsc->value ){
|
||||
int ch = 0xff & (int) pEsc->value;
|
||||
if( ed_escapes[ ch ] == 0 ){
|
||||
if ( ch == '&' || ch == '<'
|
||||
if ( ch == '&' || ch == '<' || ch == '>'
|
||||
|| (NON_BREAKING_SPACE == ((char) ch))
|
||||
|| (ch > 128 && bQuoteHiBits ) ) {
|
||||
ed_escapes[ ch ] = pEsc;
|
||||
|
|
Загрузка…
Ссылка в новой задаче