-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
add preserve_space option to keep original format in code blocks #772
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #772 +/- ##
=======================================
Coverage 99.27% 99.27%
=======================================
Files 21 21
Lines 3587 3608 +21
=======================================
+ Hits 3561 3582 +21
Misses 26 26 ☔ View full report in Codecov by Sentry. |
Hi @unsleepy22, a few comments on the PR:
Last, if you have several PRs in store about unrelated parts of the code it would be best to send them all at once, I don't plan to maintain the software on a day-to-day basis, we could both save time by grouping requests. |
Sorry for late response as I have been on vacation for a few days. Yes, this fixes Preserve horizontal space in code blocks #553. The Another change I'd like to make but needs discussion is adding another option like |
|
It's ok with me to make Currently if |
OK then, you can change the code of Concerning |
Currently preserve_space is forced False in sanitize method when converting xml to text, while for code blocks esp. python code we wish to preserve spaces to keep the original format since space matters in python.