diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/glys/Xoh_gly_html__dump__tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/glys/Xoh_gly_html__dump__tst.java index 094d69d8b..5e0ef28da 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/glys/Xoh_gly_html__dump__tst.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/glys/Xoh_gly_html__dump__tst.java @@ -29,7 +29,7 @@ public class Xoh_gly_html__dump__tst { , "
" , "
" , "
" - , " " + , " " , "
" , "
" , "

A1" @@ -42,7 +42,7 @@ public class Xoh_gly_html__dump__tst { , "

" , "
" , "
" - , " " + , " " , "
" , "
" , "

B1" @@ -64,7 +64,7 @@ public class Xoh_gly_html__dump__tst { , "

" , "
" , "
" - , " " + , " " , "
" , "
" , "

A1" @@ -86,7 +86,7 @@ public class Xoh_gly_html__dump__tst { , "

" , "
" , "
" - , " " + , " " , "
" , "
" , "

A1" diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_bare_hzip__tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_bare_hzip__tst.java index 09bf20afc..e7e08aad8 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_bare_hzip__tst.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_bare_hzip__tst.java @@ -41,7 +41,7 @@ public class Xoh_img_bare_hzip__tst { @Test public void Imap_map() { fxt.Test__bicode ( "~%}*BhtA.png~#$m#T\"A.png~" - , "\"\"" + , "\"\"" ); } } diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_html__dump__tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_html__dump__tst.java index 1c051e33a..479ed722e 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_html__dump__tst.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_html__dump__tst.java @@ -21,21 +21,21 @@ public class Xoh_img_html__dump__tst { @Test public void Basic() { fxt.Test__html ( "[[File:A.png|220x110px|upright=.5|abc]]" - , "abc"); + , "abc"); } @Test public void Empty_link() { - fxt.Test__html("[[File:A.png|220x110px|link=|abc]]", "abc"); + fxt.Test__html("[[File:A.png|220x110px|link=|abc]]", "abc"); } @Test public void Lcase_img() { Make_ns_case_sensitive(fxt.Parser_fxt().Wiki(), gplx.xowa.wikis.nss.Xow_ns_.Tid__file); - fxt.Test__html("[[File:a_b.png]]", "\"\"/"); + fxt.Test__html("[[File:a_b.png]]", "\"\""); } @Test public void Lcase_video() { Make_ns_case_sensitive(fxt.Parser_fxt().Wiki(), gplx.xowa.wikis.nss.Xow_ns_.Tid__file); fxt.Test__html("[[File:a b.ogv]]" , String_.Concat_lines_nl_skip_last ( "

" - , "
\"\"/" + , "
\"\"" , "
" , "
" , "
" diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__basic__tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__basic__tst.java index 20d03a416..1f00f8d6e 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__basic__tst.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__basic__tst.java @@ -102,7 +102,7 @@ public class Xoh_img_hzip__dump__basic__tst { @Test public void Imap() { fxt.Test__bicode ( "~%}#P`uA.png~#:#S#+\"" - , "" + , "" ); } @Test public void Existing_src_causes_npe() { // ISSUE#:400; DATE:2019-03-26 diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__link__tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__link__tst.java index 3be02725e..4245d07ee 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__link__tst.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__link__tst.java @@ -75,13 +75,13 @@ public class Xoh_img_hzip__dump__link__tst { @Test public void Link__empty() { // empty link should not create anchor; EX:[[File:A.png|link=|abc]]; PAGE:en.w:List_of_counties_in_New_York; DATE:2016-01-10 fxt.Test__bicode ( "~%|iVPA.png~#9#S\":abc~" - , "abc" + , "abc" ); } @Test public void Link__empty__tidy() {// should not trigger empty link code; PAGE:en.w:Wikipedia:Reference_Desk_archive_unanswered_2005 ; DATE:2016-01-13 fxt.Test__bicode ( "~%|iVPA.png~#!abc~" - , "abc" + , "abc" ); } @Test public void Link__ns_alias() { // [[File:A.png|link=WP:MCB]]; PAGE:en.w:Wikipedia:WikiProject_Molecular_and_Cell_Biology; DATE:2016-01-11 diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__orig__tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__orig__tst.java index b0dd19f2f..b544ca308 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__orig__tst.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_hzip__dump__orig__tst.java @@ -52,7 +52,7 @@ public class Xoh_img_hzip__dump__orig__tst { @Test public void Link__empty() { // [[File:A.png|link=|abc]]; PAGE:en.w:Lackawanna_Cut-Off; DATE:2016-08-19 fxt.Test__bicode ( "~%}([^KA.png~#\"M!babc~A.png~" - , "abc" + , "abc" ); } @Test public void Encode_2() { // [[File:A*C.png|abc]]; PAGE:en.w:Fibonacci_number; DATE:2016-08-10 diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_wtr.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_wtr.java index ccef1d192..26ee1be74 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_wtr.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/imgs/Xoh_img_wtr.java @@ -142,7 +142,7 @@ public class Xoh_img_wtr implements Bfr_arg, Xoh_wtr_itm { } public void Bfr_arg__add(Bry_bfr bfr) { if (img_wo_anch) - img_wo_anch_fmtr.Bld_bfr_many(bfr, img_id, img_xowa_title, img_xowa_image, img_src, img_w, img_h, img_cls, img_alt, img_imap_usemap); + img_wo_anch_fmtr.Bld_bfr_many(bfr, img_id, img_xowa_title, img_xowa_image, img_alt, img_src, img_w, img_h, img_cls, img_imap_usemap); else { if (img_is_vid) { bfr.Add(Vid__bry__bgn); @@ -162,7 +162,7 @@ public class Xoh_img_wtr implements Bfr_arg, Xoh_wtr_itm { ( "" , "anch_href", "anch_rel", "anch_cls", "anch_title", "anch_xowa_title", "img_id", "img_xowa_title", "img_xowa_image", "img_src", "img_w", "img_h", "img_cls", "img_alt", "img_pgbnr_atrs") , img_wo_anch_fmtr = Bry_fmtr.new_ - ( "" + ( "" , "img_id", "img_xowa_title", "img_xowa_image", "img_src", "img_w", "img_h", "img_cls", "img_alt", "img_imap_usemap") ; private final Bry_fmt diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/Xoh_lnki_html__hdump__tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/Xoh_lnki_html__hdump__tst.java index cd3b75f39..b873809c7 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/Xoh_lnki_html__hdump__tst.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/Xoh_lnki_html__hdump__tst.java @@ -27,6 +27,6 @@ public class Xoh_lnki_html__hdump__tst { } @Test public void Anch() {fxt.Test__html("[[#a]]" , "#a");} @Test public void Alt_has_quotes() { - fxt.Test__html("[[File:A.png|alt=[[\"A\"]] B c]]", "\""A""); + fxt.Test__html("[[File:A.png|alt=[[\"A\"]] B c]]", "\""A""); } } diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/htmls/Xoh_file_wtr__video__tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/htmls/Xoh_file_wtr__video__tst.java index 3443d5ed5..3fb99898a 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/htmls/Xoh_file_wtr__video__tst.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/lnkis/htmls/Xoh_file_wtr__video__tst.java @@ -54,7 +54,7 @@ public class Xoh_file_wtr__video__tst { ( "
" , " " , "
" diff --git a/400_xowa/src/gplx/xowa/htmls/core/wkrs/thms/Xoh_thm_html_tst.java b/400_xowa/src/gplx/xowa/htmls/core/wkrs/thms/Xoh_thm_html_tst.java index ef9ee8c86..156638afa 100644 --- a/400_xowa/src/gplx/xowa/htmls/core/wkrs/thms/Xoh_thm_html_tst.java +++ b/400_xowa/src/gplx/xowa/htmls/core/wkrs/thms/Xoh_thm_html_tst.java @@ -21,7 +21,7 @@ public class Xoh_thm_html_tst { fxt.Test__html("[[File:A.png|thumb|test_caption]]", String_.Concat_lines_nl_skip_last ( "
" , "
" - , " " + , " " , "
" , "
test_caption" , "
" @@ -50,7 +50,7 @@ public class Xoh_thm_html_tst { ( "
" , "
" , "
" - , "
\"\"/" + , "
\"\"" , "
" , "
" , "
"