Description:

IgnoreHtmlMarkups parameter regulates whether the text that is a part of HTML markup should be checked for spelling errors or ignored.

Parameter type:Boolean
Default value:0
Possible values:
  • 0 – HTML tags and content surrounded by start and end tags are checked for spelling errors;
  • 1 – HTML tags are ignored and only the content surrounded by start and end tags is checked for spelling errors. Any text surrounded by angle brackets (<...>) or the text following an ampersand (&) until a semicolon (;) will be ignored.

In the code sample below, with the default value set to 1, the text that will be checked for any spelling errors is “Check your grammar and spelling mistakes as you types.”. The text surrounded by angle brackets will be ignored:<div class="text-container" id="scayt-div" contenteditable="true"> , <h3>, </h3> and</div>.

<div class="text-container" id="scayt-div" contenteditable="true"> 
     <h3>Check your grammar and spelling mistakes as you types.</h3>
</div> 
<IgnoreHtmlMarkups>0</IgnoreHtmlMarkups>

  • No labels