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

Hack fix and new tests for body-shortcodes #162

Merged
merged 1 commit into from
Oct 31, 2017

Conversation

RadicalZephyr
Copy link
Contributor

This fix is a total hack, but it fixes the issue described in #160, without massively restructuring the code.

The essential problem is that shortcodes really should be a "Gutenberg Flavored Markdown" extension but we don't get events that signal "start shortcode" and "end startcode" which would vastly simplify implementing the actual processing of shortcodes.

@reillysiemens, @fuginator, and I think this is a reasonable short term fix to include, but longer term (like maybe for 0.3.0?) the code should probably be restructured to make this way less hacky to implement.

@Keats
Copy link
Collaborator

Keats commented Oct 30, 2017

Up to you, we can do the cleanup mentioned in the other issue as I think I want to finish and upgrade the version of Tera in the next version. I'm going to publish the current master as 0.2.2 today or tomorrow so we're free to take time after that

@RadicalZephyr
Copy link
Contributor Author

Awesome. I think this fix is worthwhile if you're doing a new release, and then we can take our time on doing the restructuring!

@Keats Keats merged commit 744e0f8 into getzola:master Oct 31, 2017
@RadicalZephyr RadicalZephyr deleted the shortcode-hacky-fix branch November 1, 2017 08:42
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