Skip to content

Commit

Permalink
カクヨム対応しようとしたが動かなかった。
Browse files Browse the repository at this point in the history
  • Loading branch information
kyukyunyorituryo committed Nov 20, 2018
1 parent ce5593d commit 2fb01fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README_Changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Changes
   外字用1文字フォントの利用

----
1.1.0b48Q (2018/11/17)
1.1.0b49Q (2018/11/17)
 - 「ファイル選択」からショートカットファイルの読み込みエラーの修正
1.1.0b48Q (2018/11/17)
 - なろうとノクターンで改行が増えていたのを修正
Expand Down
2 changes: 1 addition & 1 deletion ant.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!--define folder properties-->
<property name="dir.buildfile" value="."/>
<property name="dir.workspace" value="${dir.buildfile}/.."/>
<property name="dir.jarfile" value="C:/Users/user/Desktop/AozoraEpub3-1.1.0b48Q/"/>
<property name="dir.jarfile" value="C:/Users/user/Desktop/AozoraEpub3-1.1.0b49Q/"/>
<target name="create_run_jar">
<jar destfile="${dir.jarfile}/AozoraEpub3.jar">
<manifest>
Expand Down
6 changes: 5 additions & 1 deletion src/com/github/hmdev/web/WebAozoraConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,11 @@ else if (node instanceof Element) {
bw.append("[#ここから太字]");
_printNode(bw, node); //子を出力
bw.append("[#ここで太字終わり]");
} else if ("sup".equals(elem.tagName())) {
} else if ("em".equals(elem.tagName())) {
bw.append("[#丸傍点]");
_printNode(bw, node); //子を出力
bw.append("[#丸傍点終わり]");
}else if ("sup".equals(elem.tagName())) {
bw.append("[#上付き小文字]");
_printNode(bw, node); //子を出力
bw.append("[#上付き小文字終わり]");
Expand Down

0 comments on commit 2fb01fa

Please sign in to comment.