mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v1.11.2.1
This commit is contained in:
@@ -134,8 +134,9 @@ public class Xop_xnde_tag_ {
|
||||
, Tid_xowa_tag_bgn = 109
|
||||
, Tid_xowa_tag_end = 110
|
||||
, Tid_quiz = 111
|
||||
, Tid_indicator = 112
|
||||
;
|
||||
public static final int _MaxLen = 112;
|
||||
public static final int _MaxLen = 113;
|
||||
public static final Xop_xnde_tag[] Ary = new Xop_xnde_tag[_MaxLen];
|
||||
private static Xop_xnde_tag new_(int id, String name) {
|
||||
Xop_xnde_tag rv = new Xop_xnde_tag(id, name);
|
||||
@@ -196,7 +197,7 @@ public class Xop_xnde_tag_ {
|
||||
, Tag_colgroup = new_(Tid_colgroup, "colgroup")
|
||||
, Tag_col = new_(Tid_col, "col")
|
||||
, Tag_a = new_(Tid_a, "a").Restricted_()
|
||||
, Tag_img = new_(Tid_img, "img").Xtn_().Restricted_()
|
||||
, Tag_img = new_(Tid_img, "img").Restricted_() // NOTE: was .Xtn() DATE:2014-11-06
|
||||
, Tag_ruby = new_(Tid_ruby, "ruby").NoInline_()
|
||||
, Tag_rt = new_(Tid_rt, "rt").NoInline_()
|
||||
, Tag_rb = new_(Tid_rb, "rb").NoInline_()
|
||||
@@ -255,5 +256,6 @@ public class Xop_xnde_tag_ {
|
||||
, Tag_xowa_tag_bgn = new_(Tid_xowa_tag_bgn, "xtag_bgn").Xtn_()
|
||||
, Tag_xowa_tag_end = new_(Tid_xowa_tag_end, "xtag_end").Xtn_()
|
||||
, Tag_quiz = new_(Tid_quiz, "quiz").Xtn_()
|
||||
, Tag_indicator = new_(Tid_indicator, "indicator").Xtn_()
|
||||
;
|
||||
}
|
||||
|
||||
@@ -654,6 +654,7 @@ public class Xop_xnde_wkr implements Xop_ctx_wkr {
|
||||
case Xop_xnde_tag_.Tid_templateData: xnde_xtn = tkn_mkr.Xnde_templateData(); break;
|
||||
case Xop_xnde_tag_.Tid_rss: xnde_xtn = tkn_mkr.Xnde_rss(); break;
|
||||
case Xop_xnde_tag_.Tid_quiz: xnde_xtn = tkn_mkr.Xnde_quiz(); break;
|
||||
case Xop_xnde_tag_.Tid_indicator: xnde_xtn = tkn_mkr.Xnde_indicator(); break;
|
||||
case Xop_xnde_tag_.Tid_xowa_html: xnde_xtn = tkn_mkr.Xnde_xowa_html(); break;
|
||||
case Xop_xnde_tag_.Tid_listing_buy:
|
||||
case Xop_xnde_tag_.Tid_listing_do:
|
||||
|
||||
@@ -184,4 +184,7 @@ public class Xop_xnde_wkr__err_misc_tst {
|
||||
@Test public void Anchor_nested() {
|
||||
fxt.Test_parse_page_all_str("b<a>c<a>d [[e]] f", "b<a>c<a>d <a href=\"/wiki/E\">e</a> f");
|
||||
}
|
||||
@Test public void Img_should_not_be_xtn() { // PURPOSE:<img> marked as .xtn; unclosed <img> was escaping rest of text; PAGE:de.w:Wikipedia:Technik/Archiv/2014 DATE:2014-11-06
|
||||
fxt.Test_parse_page_all_str("<img>''a''", "<img><i>a</i>");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user