-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add inline_comment to TOPBuilder #625
add inline_comment to TOPBuilder #625
Conversation
@@ -503,6 +503,14 @@ def inline_uchar(str) | |||
[str.to_i(16)].pack("U") | |||
end | |||
|
|||
def inline_comment(str) | |||
if @book.config["draft"] | |||
%Q[◆→DTP連絡:#{str}←◆] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここは何を入れるべきですかね…?(暫定で両方同じにした
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あー、おんなじにしたのでrobocopに怒られてる…
related? #624 |
if @book.config["draft"] | ||
%Q[◆→DTP連絡:#{str}←◆] | ||
else | ||
%Q[◆→DTP連絡:#{str}←◆] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
むしろこちらを""
にするべきでは、と思いました。
こんな感じでしょうか? |
はい、ありがとうございます! |
2.0.0 で出力結果が変わっていたので。
expected
actual