Commit ebda072
committed
Temporarily suspend PHP Warnings on invalid tags
Temporarily suspend PHP Warnings on invalid tags when processing Gist
HTML by setting the libxml_use_internal_errors() value to true.
The original value for libxml_use_internal_errors() is restored when the
processing is complete.
props @Dan0sz
See bradyvercher#80
Resolves bradyvercher#811 parent d7ae673 commit ebda072
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
466 | 470 | | |
467 | 471 | | |
468 | 472 | | |
| |||
537 | 541 | | |
538 | 542 | | |
539 | 543 | | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
540 | 547 | | |
541 | 548 | | |
542 | 549 | | |
| |||
0 commit comments