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

Random code added #232

Open
etetlow opened this issue May 28, 2018 · 2 comments
Open

Random code added #232

etetlow opened this issue May 28, 2018 · 2 comments

Comments

@etetlow
Copy link

etetlow commented May 28, 2018

Hey,
I'm having a bizarre occurrence of phantom code which appears from nowhere. Please view attached screenshots and advise. It's after: controls =
screen shot 2018-05-28 at 10 57 20
screen shot 2018-05-28 at 10 57 49
screen shot 2018-05-28 at 10 54 17

@ccampbell
Copy link
Owner

ccampbell commented Jun 2, 2018

Hi @etetlow. I believe the issue here is that the browser is interpreting the < and > tags in your javascript as html tags. Try replacing them with &lt; and &gt;.

<code data-language="js">
function prepareFlexTable() {
    var left = $('&lt;i/&gt;').attr('class', 'fas fa-angle-left'),
</code>

etc.

@etetlow
Copy link
Author

etetlow commented Jun 2, 2018

Hey @ccampbell . That did the trick. That you soo much. Was dreading having to change my syntax highlighter snd all the code involved.

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