?Inappropriate tags

  • 1
  • Question
  • Updated 10 years ago
  • Answered
The HTML editor seems to be throwing up code that is incompatible with JS-Kit.
On save the auo repair notification comes up and when allowed to repair it adds a "\" to some tags: (example below)

.js-commentControl a{ color: #013565; }
table.js-singleCommentBodyT{color: #013565;}
.js-singleCommentKarma{color: #013565;}
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes

Posted 10 years ago

  • 1
Photo of Monique

Monique, VP of Customer Support

  • 6294 Posts
  • 446 Reply Likes
Hi Peter

We are going to look into this and get back to you. Does the comment box work after it is fixed?
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Hello Monique,

The problem is that I can't get contrast between the background and the comments. It's white on white. I attempted to make the changes for text colour. I've been in touch with Igor at JS and he advised that the script was illegit.

I can't get the "fixed" code to be accepted, it automatically identifies it as erroneous and the auto-fix throws back the same < \/...> so I don't have that answer for you. The Comment box hasn't altered with the new code.

I have had to revert back to the "wireframe" presentation in the interim.

The problem with JS isn't new. Just the modified code.
Photo of Roger

Roger

  • 11 Posts
  • 0 Reply Likes
Hi Peter

Can you paste in the code that the html editor is trying to fix. I'll have a look on my side.

Thanks
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Hello Roger,

Cut and Pasted:


.js-commentControl a{ color: #013565; } table.js-singleCommentBodyT{color: #013565;}.js-singleCommentKarma{color: #013565;}
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
It's taken out the DIV Class and the
Photo of Roger

Roger

  • 11 Posts
  • 0 Reply Likes
I pasted the code into an HTML widget and when I save it saves successfully without prompting me to auto-repair.

Quick question. Are you using Internet Explorer or Firefox?

thanks
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Chrome :)

Sorry mate I hadn't even considered this. I will get to now and use FF.

Mea maxima culpa!
Photo of Roger

Roger

  • 11 Posts
  • 0 Reply Likes
Great, try it with FF and let me know if the behaviour is the same :)

Cheers
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Hi Roger,

I still get the same outcome. Error and on auto-fix it adds the "\" with FF.

I tentatively retract the Mea culpa!
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Identical with IE7.

Any ideas on that Roger?
Photo of Roger

Roger

  • 11 Posts
  • 0 Reply Likes
Hi Peter

Very odd, do you have any other code on that same page besides the above code? I've added spaces to the open and closed tags to see if it tries to fix with a "\" but it repaired it correctly. I'll keep investigating.

thanks
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Heaps!
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Roger,

I'm emailing my ID and password to support. I'll mark it your attention. Can you see if there's anything on the page?

Thanks.
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Peter,

I've emailed you a solution. Here's the corrected code you can use:

<div class="js-kit-comments" permalink=""></div>
<style>.js-commentControl a{ color: #013565; }</style>
<style>table.js-singleCommentBodyT{color: #013565;}</style>
<style>.js-singleCommentKarma{color: #013565;} </style>
<script type="text/javascript" src="http://js-kit.com/comments.js">
</script>
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Thank you for the work on this Roger and Kershnee.
I still had problems after the code was acceptable by the HTML editor and made contact with JS.

Apparently it's important to have the <script type.....! line above the style lines.