Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Fix various RDMD syntax edge cases for code tabs component. #729

Merged
merged 10 commits into from
Jun 26, 2020

Conversation

rafegoldberg
Copy link
Contributor

@rafegoldberg rafegoldberg commented Jun 3, 2020

🧰 Changes

Detail and polish to the regexp for our code tabs parser to resolve some open issues on the RDMD board:

  • Test various syntax edge cases.
  • Code Tabs without a lang or name break the RDMD engine. #719
  • Markdown code block lang meta recognition. #723
  • Markdown code block closing incorrectly. #724

🧪 Testing

🗳 Checklist

  • I'm fixing a bug

@rafegoldberg rafegoldberg added type:bug Something isn't working Markdown labels Jun 3, 2020
@rafegoldberg rafegoldberg requested review from erunion and gratcliff June 3, 2020 18:41
Copy link
Member

@erunion erunion left a comment

Choose a reason for hiding this comment

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

Any test cases need to be written for this?

@rafegoldberg
Copy link
Contributor Author

@erunion yes, absolutely. Will write and rerequest your review.

@rafegoldberg
Copy link
Contributor Author

@erunion added tests per our convo a few weeks ago; merging this in now.

@rafegoldberg rafegoldberg merged commit 5ce0cab into master Jun 26, 2020
@rafegoldberg rafegoldberg deleted the rdmd/fix/code-tabs branch June 26, 2020 01:04
Copy link
Member

@erunion erunion left a comment

Choose a reason for hiding this comment

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

👍 lmk tomorrow and I can get a build for you for Tuesday's release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants