Skip to content
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

Merged
merged 2 commits into from
May 3, 2016

Conversation

vvakame
Copy link
Contributor

@vvakame vvakame commented May 2, 2016

2.0.0 で出力結果が変わっていたので。

expected

◆→DTP連絡:コメントだよ!←◆

actual

@<comment>{コメントだよ!}

@@ -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}←◆]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここは何を入れるべきですかね…?(暫定で両方同じにした

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あー、おんなじにしたのでrobocopに怒られてる…

@vvakame
Copy link
Contributor Author

vvakame commented May 2, 2016

related? #624

if @book.config["draft"]
%Q[◆→DTP連絡:#{str}←◆]
else
%Q[◆→DTP連絡:#{str}←◆]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

むしろこちらを""にするべきでは、と思いました。

@vvakame
Copy link
Contributor Author

vvakame commented May 3, 2016

こんな感じでしょうか?

@takahashim
Copy link
Collaborator

はい、ありがとうございます!

@takahashim takahashim merged commit 7b543e8 into kmuto:master May 3, 2016
@vvakame vvakame deleted the topbuilder-comment-backward-compat branch May 3, 2016 05:47
@kdmsnr kdmsnr added this to the 2.1.0 milestone May 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants