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

Uncaught line error in line 1111 in prism.js #721

Closed
EpicTimoZz opened this issue Aug 26, 2015 · 5 comments
Closed

Uncaught line error in line 1111 in prism.js #721

EpicTimoZz opened this issue Aug 26, 2015 · 5 comments

Comments

@EpicTimoZz
Copy link

this is an issue that i dont know the exact reason for but it accurs usually when there are spaces at the end before the and tags

http://puu.sh/jPkLp/552c0fa444.png

thats how it looks in chrome and it breaks all highlighting before it.

this was not broken some time ago so insight on this would be appreciated

@EpicTimoZz
Copy link
Author

i was able to reproduce the issue outside of the website.
http://pastebin.com/1kuiqGid

im aware that the code above the not highlighted code has the span tags already apply to it. but this is what happens when the js error accures. so i think i isolated it properly.

@Golmote
Copy link
Contributor

Golmote commented Aug 26, 2015

Thanks for reporting. It should be fixed now.

@EpicTimoZz
Copy link
Author

i really found an issue? wow! how do i get the fixed version now? :) (wow i cant believe it wasnt my code that broke something that worked before)

@Golmote
Copy link
Contributor

Golmote commented Aug 26, 2015

lol! Yes you did. :)

You can use the builder on the Download page to get an updated JS file. (Pro-tip: if you originally used this builder to get Prism, you should have a URL at the very top of your JS file. Open it in your browser and all your themes/languages/plugins should be pre-checked)

@EpicTimoZz
Copy link
Author

thank you! everything is fixed. open source is truely awsome. thanks for making my forum possible!
http://altpalace.com/thread.php?id=1
if you want to see how i integrated prism into my site!

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

No branches or pull requests

2 participants