mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
Score: Clean-up test [#577]
This commit is contained in:
parent
fca507568f
commit
73eb42c0ba
@ -45,8 +45,12 @@ class Score_html_fxt {
|
|||||||
return "<score>\\relative c' { f d f a d f e d cis a cis e a g f e }</score>";
|
return "<score>\\relative c' { f d f a d f e d cis a cis e a g f e }</score>";
|
||||||
}
|
}
|
||||||
public String Basic__html(boolean dir_has_value) {
|
public String Basic__html(boolean dir_has_value) {
|
||||||
String img_id = hdump && dir_has_value ? "xoimg_0" : "xowa_score_0_img";
|
String img_id = "xowa_score_0_img";
|
||||||
String img_atrs = hdump && dir_has_value ? " alt=\"\"" : " src=\"\" ";
|
String img_atrs = " src=\"\" ";
|
||||||
|
if (hdump && dir_has_value) { // mode is hload
|
||||||
|
img_id = "xoimg_0";
|
||||||
|
img_atrs = " alt=\"\"";
|
||||||
|
}
|
||||||
return String_.Concat_lines_nl
|
return String_.Concat_lines_nl
|
||||||
( ""
|
( ""
|
||||||
, "<div id=\"xowa_score_0_pre\" class=\"xowa-score-lilypond\">"
|
, "<div id=\"xowa_score_0_pre\" class=\"xowa-score-lilypond\">"
|
||||||
|
Loading…
Reference in New Issue
Block a user