Skip to content

issues Search Results · repo:pluralsight/htmlTagValidator language:JavaScript

Filter by

21 results
 (87 ms)

21 results

inpluralsight/htmlTagValidator (press backspace or delete to remove)

Consider the string: p This is a link: a data-saferedirecturl= https://www.google.com/url?q=http://.../ amp;source=gmail amp;ust=... amp;usg=... Link /a /p I would expect that to parse correctly, ...
  • AllanJard
  • 1
  • Opened 
    on Nov 18, 2021
  • #33

When the content contains lots of br tags, the checking process would run for so long time, and the page would crash if I don t close it immediately. Is that any infinite loop or other condition that would ...
  • showwell0120
  • 1
  • Opened 
    on Jul 15, 2019
  • #27

Are SVGs handled? If not, how can I ignore everything under the svg tag? I m getting the following error: The path tag does not have a d attribute
  • lazarljubenovic
  • 3
  • Opened 
    on Aug 11, 2018
  • #26

I think it makes sense to specify allowed tags, so validation will fail if there re other tags used.
  • mrded
  • 1
  • Opened 
    on May 10, 2018
  • #24

like this: if (htmlTagValidator(sampleHtml)) { console.log( valid ); } else { console.log( invalid ); }
  • cbsorrilha
  • 1
  • Opened 
    on Apr 13, 2018
  • #23

For example script var str= div Some Content /div ; /script Should be valid but isn t. A workaround, although hacky, is: script var str= + div Some Content + /div ; /script Suggestions?
  • MJAlonzo
  • 1
  • Opened 
    on Sep 11, 2017
  • #22

Hello. I m trying to validate a Vimeo embed tag: iframe src= https://player.vimeo.com/video/123445777?title=0 byline=0 portrait=0 badge=0 width= 450 height= 253 frameborder= 0 webkitallowfullscreen ...
  • andrewhl
  • 2
  • Opened 
    on Jul 6, 2017
  • #20

Hi If there is a space in the closing tag after the slash such as / b , it doesn t get detected. However, Chrome doesn t like it and doesn t consider it as a closing tag See: https://jsfiddle.net/6j0kdL04/ ...
  • louisptremblay
  • 1
  • Opened 
    on Feb 28, 2017
  • #19

Although short tags have every reason to be rejected, it still causes some issues during validation. Consider the following: li ? echo $variable; ? /li The validator responds, li is not a valid self ...
  • aj-foster
  • 1
  • Opened 
    on Dec 1, 2016
  • #17

[ ] - The validator throws an error when trying to use the autofocus attribute without a value. Below is the error thrown: image As I was researching about the autofocus attribute, I came across this ...
enhancement
  • carolinapowers
  • 3
  • Opened 
    on Nov 20, 2016
  • #16
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub