Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

emdash/endash are created inside [code] blocks #505

Open
riking opened this issue Jun 3, 2015 · 1 comment
Open

emdash/endash are created inside [code] blocks #505

riking opened this issue Jun 3, 2015 · 1 comment

Comments

@riking
Copy link
Contributor

riking commented Jun 3, 2015

inc/functions.php#unicodify seems to run even if the text is inside a [code] block, which really messes up posting of code and other monospaced stuff.

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1

owEB0QEu/pANAwACAWV/Rg0giUZmAcuhYgBVbnbzYGluYy9mdW5jdGlvbnMucGhw
I3VuaWNvZGlmeWAgc2VlbXMgdG8gcnVuIGV2ZW4gaWYgdGhlIHRleHQgaXMgaW5z
aWRlIGEgYFtjb2RlXWAgYmxvY2ssIHdoaWNoIHJlYWxseSBtZXNzZXMgdXAgcG9z
dGluZyBvZiBjb2RlIGFuZCBvdGhlciBtb25vc3BhY2VkIHN0dWZmLgqJARwEAAEC
AAYFAlVudvMACgkQZX9GDSCJRmYVWggAjAmRsH1oa5sKOzUuor91US0JLYGTmY22
pdM8Tm7A5+ZzLdjjs+plRu7HrDp3f/IRH0xIXxZbcj8Tt6TY+xfBLb7C+mhbiXcN
6y107M4T57C9feUlN9ra+Jro6gg3MgC328hFOkEMqqXYKXE6EBzFC5Iit10E5Qbi
q1qW3ekI7ceAM/Rkf8YKZCEQmLUB7y7k7MX6T3fR9OaE17LLcUoCf3HgVHprRXsn
+qQGXGlzSvwtV4op1LJLk+xDE/2lSle2zH2fKerxerkJ1lKNptLypOaQ+Y3lD4eT
sK/pUs4f3vWZBS83dMLhJbOOl9YxcWiMNRiA7y8YzTBZANkA0bEwUw==
=Y/lw
-----END PGP MESSAGE-----

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/19946282-emdash-endash-are-created-inside-code-blocks?utm_campaign=plugin&utm_content=tracker%2F6417251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6417251&utm_medium=issues&utm_source=github).
@czaks
Copy link
Collaborator

czaks commented Jun 5, 2015

this is fixed in vichan (upstream). you can work on backporting the change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants