File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ function ParagraphParser() {
104104 if ( block_has_c_style_comment ) {
105105 var prev = line ;
106106 line = line . replace ( / ^ ( \s * ?) (?: \s ? \* \/ | \/ \* \s | \s \* \s ? ) / , '$1' ) ;
107- if ( prev == line )
107+ if ( prev === line )
108108 line = line . replace ( / ^ \s { 2 } / , '' ) ;
109109 if ( / \* \/ / . test ( prev ) )
110110 block_has_c_style_comment = false ;
@@ -142,16 +142,16 @@ function ParagraphParser() {
142142 var line_li = result [ 2 ] ;
143143
144144 // Flush the paragraph when there is a li or an indentation jump
145- if ( line_li || ( line_indent != paragraph_line_indent &&
146- paragraph_line_indent != - 1 ) ) {
145+ if ( line_li || ( line_indent !== paragraph_line_indent &&
146+ paragraph_line_indent !== - 1 ) ) {
147147 flushParagraph ( ) ;
148148 paragraph . li = line_li ;
149149 }
150150
151151 // Set the paragraph indent that we use to detect indentation jumps. When
152152 // we just detected a list indicator, wait
153153 // for the next line to arrive before setting this.
154- if ( ! line_li && paragraph_line_indent != - 1 ) {
154+ if ( ! line_li && paragraph_line_indent !== - 1 ) {
155155 paragraph_line_indent = line_indent ;
156156 }
157157
You can’t perform that action at this time.
0 commit comments