Issue with paragraph starting with three or more * #1837
Labels
🔭 area/muya
🪲 pri/major
Bugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT
🐛 bug
Something isn't working
🦉 pre-release
Projects
Description
A paragraph starting with
***
is correctly interpreted as horizontal rule but if we want to write**bold**
by typing two times*
, it's still recognized as horizontal rule.Steps to reproduce
*
(-->**
) and another*
to get**<cursor**
- the text block is recognized as horizontal rule (HR) 👍.**foo**
- the text block is still recognized as HR 👎.Expected behavior:
The line should be a normal paragraph/text.
Actual behavior:
The line is recognized as horizontal rule.
Versions
Hint: I guess that this is an issue that has been created by
isAllowedTransformation
validation in Muya'sparagraphCtrl.js
file because we don't allow transformations from horizontal rules due to transformation issues with other markdown elements (multiple crashes in Muya).The text was updated successfully, but these errors were encountered: