Commit 2a34ae7
committed
Insert transparent gif if img does not have src attribute
Thus it will prevent invalid value to be inserted when trying to fix img
tags.
Before this change the line:
<img alt="Hello world">
led to:
<img alt="Hello world" src="src">
Now, the src attribute will be initialized with the value:
data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>1 parent 3d43a28 commit 2a34ae7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
| 877 | + | |
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
| |||
0 commit comments