-
Notifications
You must be signed in to change notification settings - Fork 315
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
Markdown variables consume too many characters if parentheses are nested with whitespace before final ) #3448
Comments
@Gazook89 has reportedly tried this combination in other markdown editors without being able to replicate this behaviour, therefore, we are drawn to the conclusion the bug must come from our own code, most likely our table handling code in Pointed out by @calculuschild, the error might be new and related to variables. |
Discussed on Gitter, the real issue is this: As easy as homebrewery/shared/naturalcrit/markdown.js Line 599 in dd82a1b
The trim will then happen afterward here. Note that the homebrewery/shared/naturalcrit/markdown.js Lines 615 to 618 in dd82a1b
|
Not sure what is causing this issue, but it is a bug of some sort.
Some combination of links and parentheses inside tables merges cells together, sometimes splitting words.
the following code will work as a demonstration:
results in this:
![image](https://private-user-images.githubusercontent.com/91662974/327575630-29122643-a802-4f1d-8bf5-ab4d49917801.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1MTUwNTAsIm5iZiI6MTcxODUxNDc1MCwicGF0aCI6Ii85MTY2Mjk3NC8zMjc1NzU2MzAtMjkxMjI2NDMtYTgwMi00ZjFkLThiZjUtYWI0ZDQ5OTE3ODAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE2VDA1MTIzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhM2FlODg4NTYzOWY2MDUyNmE3MDYzYjQzMDNlNDcyYzUyYWRhNDk5M2RmMzkzNGJkN2NkYTNlMDJlODVjMDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.n79QIVUx4P1z6fjA8zgM6gMyADUR3CZW63b77rHRXyk)
The text was updated successfully, but these errors were encountered: