saber
saber copied to clipboard
Disable Markdown rendering in Vue-in-Markdown elements
Bug report
Markdown in Vue-in-Markdown components gets rendered.
Steps to reproduce
# Hello!
<my-component>Works!</my-component>
<my-component>
Doesn't work!
</my-component>
<my-component>
# Hello
</my-component>
<button># A regular HTML button works just fine</button>
What is expected?
<h1>Hello!</h1>
<my-component>Works!</my-component>
<my-component>Doesn't work!</my-component>
<my-component># Hello</my-component>
<button># A regular HTML button works just fine</button>
What is actually happening?
Gets rendered to:
<h1>Hello!</h1>
<my-component>Works!</my-component>
<my-component><p>Doesn't work!</p></my-component>
<my-component><h1>Hello</h1></my-component>
<button># A regular HTML button works just fine</button>
Other relevant information
- Result of running
saber -v
: latest - Browser version (optional):
- Is Saber a global or local install? local
- Which package manager did you use for the install? yarn
- Does this issue occur when all plugins are disabled? ye
That should be possible by modifying the html renderer in markdown-it, I haven't tested it tho.