-
-
Notifications
You must be signed in to change notification settings - Fork 849
Fix replicating template messages #794
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
Fix replicating template messages #794
Conversation
Header, footer and '\n' will be treated correctly Issue: #787 - Stop generating headers and footers indefinitely, leaving only one right each time. - To find the exact same string as the key, the Regex key must be escaped with Regex.escape(). - First I have been fixing only credit_line, but this framework should be applied not only to credit_line but also to header and frontmatter, so I changed header and frontmatter to be deleted once. - Automatically remove only the automatically added '\n' and not remove any additional '\n' that may have been added manually by the user. - specs for this issue is prepared.
Thanks for this! I'll review soon. 👍 |
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.
Thanks for making this change, it's ✨ !
With a few tiny additions, we can merge it. I marked them with a bunch of GitHub Suggestions (after pulling the PR down to my local machine and running it in different ways).
Thanks!
newer YARD style Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
Content of comment text Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
Modified require statements which are automatically added by "rspec-kickstarter" Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
an empty line before expect statement Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
an empty line before expect statement Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
I pressed all "Commit suggestion"s by @olleolleolle. |
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.
Alright! Thanks again @shinyaohtani for fixing this issue! ✨
Let's get this merged.
@olleolleolle |
@olleolleolle |
Fixes #787
Header, footer and '\n' will be treated correctly