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

Fix shortcode in markdown headers #2210

Closed
wants to merge 1 commit into from
Closed

Conversation

bep
Copy link
Member

@bep bep commented Jun 13, 2016

This issue was introduced as a fix to shortcode not working in RST.

One could argue that Blackfriday and friends should handle # in titles, but that will be a discussion
for another day.

The new placeholder pattern should be RST safe and work with titles.

And now with a test so this doesn't break again.

Fixes #2192
Fixes #2209

This issue was introduced as a fix to shortcode not working in RST.

One could argue that Blackfriday and friends should handle `#` in titles, but that will be a discussion
for another day.

The new placeholder pattern should be RST safe and work with titles.

And now with a test so this doesn't break again.

Fixes gohugoio#2192
Fixes gohugoio#2209
@bep
Copy link
Member Author

bep commented Jun 13, 2016

See #1904 for the RST issue.

@moorereason
Copy link
Contributor

lgtm

@bep bep closed this in 34f4004 Jun 15, 2016
@bep bep deleted the shortcodeintitles branch April 18, 2017 09:19
tychoish pushed a commit to tychoish/hugo that referenced this pull request Aug 13, 2017
This issue was introduced as a fix to shortcode not working in RST.

One could argue that Blackfriday and friends should handle `#` in titles, but that will be a discussion
for another day.

The new placeholder pattern should be RST safe and work with titles.

And now with a test so this doesn't break again.

Fixes gohugoio#2192
Fixes gohugoio#2209
Closes gohugoio#2210
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants