Skip to content

Commit d3b7621

Browse files
committed
Add a few apostrophes in comments
1 parent 8a38854 commit d3b7621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Autolinker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,11 +341,11 @@ Autolinker.prototype = {
341341

342342
// Process around anchor tags, and any inner text / html they may have
343343
if( tagName === 'a' ) {
344-
if( !isClosingTag ) { // its the start <a> tag
344+
if( !isClosingTag ) { // it's the start <a> tag
345345
anchorTagStackCount++;
346346
resultHtml.push( this.processTextNode( textToProcess ) );
347347

348-
} else { // its the end </a> tag
348+
} else { // it's the end </a> tag
349349
anchorTagStackCount = Math.max( anchorTagStackCount - 1, 0 ); // attempt to handle extraneous </a> tags by making sure the stack count never goes below 0
350350
if( anchorTagStackCount === 0 ) {
351351
resultHtml.push( textToProcess ); // We hit the matching </a> tag, simply add all of the text from the start <a> tag to the end </a> tag without linking it

0 commit comments

Comments
 (0)