Skip to content

Conversation

@ynonp
Copy link

@ynonp ynonp commented May 9, 2014

search() returns line numbers, so counter's initial value was the first line number that had the tag.
The following HTML for example resulted in a wrong counter value, and so plugin didn't work well:

<title>a</title>

search() returns line numbers, so counter's initial value was the first line number that had the tag.
The following HTML for example resulted in a wrong counter value, and so plugin didn't work well:
<!DOCTYPE html>
<html>
	<head>
        <meta charset="utf-8" />
		<title>a</title>
	</head>
	<body>
  <span>
  
  </span>

  <span>
	</body>
</html>
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

Successfully merging this pull request may close these issues.

1 participant