mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 18:30:59 +00:00
fixed: whitespace issue
This commit is contained in:
1 parent
319bcdaba9
commit
15bbca8d77
1 file changed
+7
-2
@@ -979,7 +979,11 @@ var kRgsymRtf = {
|
||||
else
|
||||
{
|
||||
_freename += tmp;
|
||||
[self _appendPlainString:tmp];
|
||||
// Only append literal spaces to the document if we are in the active body state
|
||||
if (_curState == 0)
|
||||
{
|
||||
[self _appendPlainString:tmp];
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
@@ -1025,7 +1029,8 @@ var kRgsymRtf = {
|
||||
|
||||
if (_hexreturn)
|
||||
{
|
||||
if (ch.length > 0)
|
||||
// Only append decoded characters if we are in the active body state
|
||||
if (ch.length > 0 && _curState === 0)
|
||||
{
|
||||
var byteVal = parseInt(ch, 16);
|
||||
var unicodeVal = byteVal;
|
||||
|
||||
Reference in new issue
Block a user