File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ function ParagraphParser() {
104
104
if ( block_has_c_style_comment ) {
105
105
var prev = line ;
106
106
line = line . replace ( / ^ ( \s * ?) (?: \s ? \* \/ | \/ \* \s | \s \* \s ? ) / , '$1' ) ;
107
- if ( prev == line )
107
+ if ( prev === line )
108
108
line = line . replace ( / ^ \s { 2 } / , '' ) ;
109
109
if ( / \* \/ / . test ( prev ) )
110
110
block_has_c_style_comment = false ;
@@ -142,16 +142,16 @@ function ParagraphParser() {
142
142
var line_li = result [ 2 ] ;
143
143
144
144
// 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 ) ) {
147
147
flushParagraph ( ) ;
148
148
paragraph . li = line_li ;
149
149
}
150
150
151
151
// Set the paragraph indent that we use to detect indentation jumps. When
152
152
// we just detected a list indicator, wait
153
153
// 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 ) {
155
155
paragraph_line_indent = line_indent ;
156
156
}
157
157
You can’t perform that action at this time.
0 commit comments