1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

'v3.7.1.1'

This commit is contained in:
gnosygnu
2016-07-03 22:41:56 -04:00
parent 1a4ca00c0b
commit 36584a0cc2
220 changed files with 4762 additions and 2627 deletions

View File

@@ -43,13 +43,14 @@ public class Mwh_doc_parser {
pos = Parse_nde(pos);
break;
case Byte_ascii.Amp: // "&": check for entity; EX:   in sr-ec -> sr-el
Xop_tkn_itm tkn = amp_mgr.Parse_as_tkn(tkn_mkr, src, src_end, pos, pos + 1);
if (tkn == null)
Xop_amp_mgr_rslt rv = amp_mgr.Parse_tkn(tkn_mkr, src, src_end, pos, pos + 1);
Xop_tkn_itm rv_tkn = rv.Tkn();
if (rv_tkn == null)
++pos;
else {
wkr.On_txt_end(this, src, cur_nde_tid, txt_bgn, pos);
wkr.On_entity_end(this, src, cur_nde_tid, tkn.Src_bgn(), tkn.Src_end());
pos = tkn.Src_end();
wkr.On_entity_end(this, src, cur_nde_tid, rv_tkn.Src_bgn(), rv_tkn.Src_end());
pos = rv_tkn.Src_end();
txt_bgn = pos;
}
break;