From 2fb01fa0877f4e2d6bd01d69687a346fcb963c8a Mon Sep 17 00:00:00 2001 From: kyukyunyorituryo Date: Tue, 20 Nov 2018 20:35:24 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=AB=E3=82=AF=E3=83=A8=E3=83=A0=E5=AF=BE?= =?UTF-8?q?=E5=BF=9C=E3=81=97=E3=82=88=E3=81=86=E3=81=A8=E3=81=97=E3=81=9F?= =?UTF-8?q?=E3=81=8C=E5=8B=95=E3=81=8B=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README_Changes.txt | 2 +- ant.xml | 2 +- src/com/github/hmdev/web/WebAozoraConverter.java | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README_Changes.txt b/README_Changes.txt index 2a526487..6a740e5f 100644 --- a/README_Changes.txt +++ b/README_Changes.txt @@ -49,7 +49,7 @@ Changes    外字用1文字フォントの利用 ---- -1.1.0b48Q (2018/11/17) +1.1.0b49Q (2018/11/17)  - 「ファイル選択」からショートカットファイルの読み込みエラーの修正 1.1.0b48Q (2018/11/17)  - なろうとノクターンで改行が増えていたのを修正 diff --git a/ant.xml b/ant.xml index 286c1368..9335e940 100644 --- a/ant.xml +++ b/ant.xml @@ -5,7 +5,7 @@ - + diff --git a/src/com/github/hmdev/web/WebAozoraConverter.java b/src/com/github/hmdev/web/WebAozoraConverter.java index 3bffc65a..a9c656ff 100644 --- a/src/com/github/hmdev/web/WebAozoraConverter.java +++ b/src/com/github/hmdev/web/WebAozoraConverter.java @@ -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("[#上付き小文字終わり]");