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

'v3.8.2.1'

This commit is contained in:
gnosygnu
2016-08-07 21:36:50 -04:00
parent b0fdf78a41
commit e4a2af026b
165 changed files with 2534 additions and 1247 deletions

View File

@@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package gplx.xowa.htmls.js; import gplx.*; import gplx.xowa.*; import gplx.xowa.htmls.*;
import gplx.core.btries.*;
import gplx.langs.htmls.entitys.*;
public class Xoh_js_cleaner {
private Xoae_app app; private boolean ctor = true;
public Xoh_js_cleaner(Xoae_app app) {this.app = app;}
@@ -49,7 +50,7 @@ public class Xoh_js_cleaner {
int frag_len = frag.length;
if (frag[0] == Byte_ascii.Lt) { // jscript node; EX: <script
if (!dirty) {bfr.Add_mid(src, bgn, pos); dirty = true;}
bfr.Add(gplx.langs.htmls.Gfh_entity_.Lt_bry);
bfr.Add(Gfh_entity_.Lt_bry);
bfr.Add_mid(frag, 1, frag.length);
pos += frag_len;
}
@@ -60,7 +61,7 @@ public class Xoh_js_cleaner {
else {
if (!dirty) {bfr.Add_mid(src, bgn, pos); dirty = true;}
bfr.Add(frag);
bfr.Add(gplx.langs.htmls.Gfh_entity_.Eq_bry);
bfr.Add(Gfh_entity_.Eq_bry);
pos = atr_pos;
}
}