Skip to content
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

Using <pre> or <code> not working in WP #1

Closed
Willem-Siebe opened this issue Aug 9, 2013 · 3 comments
Closed

Using <pre> or <code> not working in WP #1

Willem-Siebe opened this issue Aug 9, 2013 · 3 comments
Labels

Comments

@Willem-Siebe
Copy link

Hi,

Maybe your plugin is working, but adding code or pre tags in WP is causing me problems, everything in between get messed up, how to solve this first?

Willem

@kasparsd
Copy link
Owner

kasparsd commented Aug 9, 2013

Make sure you encode the code to HTML entities before pasting it inside the <pre></pre> block using a tool like http://htmlentities.net

@Willem-Siebe
Copy link
Author

That's a solution, true! Thanx for that. But don't you also prefer writing the normal tags how you would write them in a text editor? I just can't find a solution for it... I'm looking for snippets for my functions.php or a plugin. Or should I stop looking?

@Willem-Siebe
Copy link
Author

Plugin 'Code Markup' works perfect! So I don't have to encode anymore. I installed your plugin and that worked great! Do I also get warnings in my WP plugin dashboard when there is an update?

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

No branches or pull requests

2 participants