Skip to content

Commit

Permalink
Merge pull request #57 from abap34/dev
Browse files Browse the repository at this point in the history
不要な空白が挿入されていたバグを修正
  • Loading branch information
abap34 authored Jan 1, 2024
2 parents ee32ba9 + 5c4bd7b commit fb3908e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ namespace almo {

// <figure> タグを使うことで キャプションなどをつける。
std::string to_html() const override {
std::string output = "<img src=\" " + url + " \" >";
std::string output = "<img src=\"" + url + "\" >";
std::string figcaption = "<figcaption>" + caption + "</figcaption>";
return "<figure>" + output + figcaption + "</figure>";
}
Expand Down

0 comments on commit fb3908e

Please sign in to comment.