includes/parser/Preprocessor_DOM.php 1 location
|
@@ 496-500 (lines=5) @@
|
| 493 |
|
} |
| 494 |
|
|
| 495 |
|
$accum .= '<ext>'; |
| 496 |
|
if ( $attrEnd <= $attrStart ) { |
| 497 |
|
$attr = ''; |
| 498 |
|
} else { |
| 499 |
|
$attr = substr( $text, $attrStart, $attrEnd - $attrStart ); |
| 500 |
|
} |
| 501 |
|
$accum .= '<name>' . htmlspecialchars( $name ) . '</name>' . |
| 502 |
|
// Note that the attr element contains the whitespace between name and attribute, |
| 503 |
|
// this is necessary for precise reconstruction during pre-save transform. |
includes/parser/Preprocessor_Hash.php 1 location
|
@@ 429-435 (lines=7) @@
|
| 426 |
|
continue; |
| 427 |
|
} |
| 428 |
|
|
| 429 |
|
if ( $attrEnd <= $attrStart ) { |
| 430 |
|
$attr = ''; |
| 431 |
|
} else { |
| 432 |
|
// Note that the attr element contains the whitespace between name and attribute, |
| 433 |
|
// this is necessary for precise reconstruction during pre-save transform. |
| 434 |
|
$attr = substr( $text, $attrStart, $attrEnd - $attrStart ); |
| 435 |
|
} |
| 436 |
|
|
| 437 |
|
$children = [ |
| 438 |
|
[ 'name', [ $name ] ], |