1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

disable u+2029

This commit is contained in:
Lu Wang 2013-10-27 15:18:17 +08:00
parent a3642c6265
commit d39f83f15d

View File

@ -76,6 +76,12 @@ bool isLegalUnicode(Unicode u)
if(u < max_small_unicode) if(u < max_small_unicode)
return valid_small_unicode[u]; return valid_small_unicode[u];
/*
* U+2029: Paragraph Separator
*/
if(u == 0x2029)
return false;
/* /*
* Reserved code for utf-16 * Reserved code for utf-16
*/ */