Closed southly closed 10 years ago
Issue とパッチ、ありがとうございます!この問題、少し前に気づいて「カッコ悪いな...」と思っておりました。
bb3493d で12/9にリリースしたバージョンでは修正されたかと思っていましたが、いまだ上付け文字になってますでしょうか?手元の Kindle.app for iOS と Kindle Paperwhite では上付け表示を確認できませんでした。
おっしゃる通り、配布版は大丈夫ですね。自分で変換したものと勘違いしていたようです。 bb3493d6df9c6fbc6b1a28056b93f55049c59674 は HTML を修正してあるのでしょうか。 でしたら、この件は upstream に pull request を送ってみようと思います。
bb3493d の HTML は makeebooks で生成された未編集のデータですね。
以前のバージョンでは apt パッケージの ruby-rdiscount を使って生成、bb3493d は rubygems.org 上の最新版を使って生成した記憶があります。前者は 1.6系、後者は2.1系だったので、その差異かもしれません。
なるほど。ruby-rdiscount のバージョンとはうっかりしていました。 こちらの環境が問題だったということで納得いたしました。 ありがとうございました。
RDiscount はサーカムフレックス記号
^
を上付き文字に処理するようですね。 そのため「Windowsにインストール」のところのサーカムフレックス記号が上付き文字になってしまいます。^
を^
と書けばとりあえず防ぐことができますが、 そもそも処理させないように makeebooks を以下のようにした方がいいかもしれません。