diff options
author | Thomas Lange <code@nerdmind.de> | 2017-11-04 09:45:54 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-11-04 09:45:54 +0100 |
commit | 78c5974cd34559d0130d8be509935e2c992cd9ca (patch) | |
tree | 4837c6a22adc822eea467e9a04b2e1254b3add0a /admin/post/update.php | |
parent | 29ead287180d2bc21cc5a5e70298827e1970aee3 (diff) | |
download | blog-78c5974cd34559d0130d8be509935e2c992cd9ca.tar.gz blog-78c5974cd34559d0130d8be509935e2c992cd9ca.tar.xz blog-78c5974cd34559d0130d8be509935e2c992cd9ca.zip |
The Parsedown library has been patched to prevent tab indentations from being converted to spaces:
For example, if you had used the markdown syntax for displaying source code in your post, Parsedown had replaced your semantically correct tab indentations with hard spaces. This behavior meant that the code that was displayed after parsing was no longer exactly the code you inserted into the content editor. If someone had copied source code from your post into his IDE, then your tab indentations were gone because of the spaces.
That's why I hacked the Parsedown library and created a patch:
https://github.com/erusev/parsedown/issues/508
Diffstat (limited to 'admin/post/update.php')
0 files changed, 0 insertions, 0 deletions