Lines 865-869
Link Here
|
865 |
} else { |
865 |
} else { |
866 |
// FIXME: We should eventually colorize entities by sending them as a special token. |
866 |
// FIXME: We should eventually colorize entities by sending them as a special token. |
867 |
checkBuffer(11); |
867 |
// 12 bytes required: up to 10 bytes in m_cBuffer plus the |
|
|
868 |
// leading '&' and trailing ';' |
869 |
checkBuffer(12); |
868 |
*dest++ = '&'; |
870 |
*dest++ = '&'; |
869 |
for (unsigned i = 0; i < cBufferPos; i++) |
871 |
for (unsigned i = 0; i < cBufferPos; i++) |
Lines 876-880
Link Here
|
876 |
} |
878 |
} |
877 |
} else { |
879 |
} else { |
878 |
checkBuffer(10); |
880 |
// 11 bytes required: up to 10 bytes in m_cBuffer plus the |
|
|
881 |
// leading '&' |
882 |
checkBuffer(11); |
879 |
// ignore the sequence, add it to the buffer as plaintext |
883 |
// ignore the sequence, add it to the buffer as plaintext |
880 |
*dest++ = '&'; |
884 |
*dest++ = '&'; |