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

Strip heading titles for tutorials #178

Merged

Conversation

anthonydillon
Copy link
Contributor

Done

Strip white spaces from heading title. In newer versions of discourse the headings titles in cooked html are prefixed with new lines and it breaks the section parsing.
Bumped version

QA

In your local ubuntu.com project do the following in the requirements.txt

# canonicalwebteam.discourse==5.4.4
canonicalwebteam.discourse @ git+https://github.com/anthonydillon/canonicalwebteam.discourse@strip-headings-tutorials

@anthonydillon anthonydillon merged commit 66e2d74 into canonical:main Oct 30, 2023
4 checks passed
@anthonydillon anthonydillon deleted the strip-headings-tutorials branch October 30, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants