d84a6041e1
- If src is empty, we simply skip the iframe. - If src is invalid or cannot be fetched, we issue a warning and skip instead of failing with an error. - Closes #7099.
18 lines
482 B
Markdown
18 lines
482 B
Markdown
```
|
|
% pandoc -f html -t native --verbose
|
|
<iframe src=""></iframe>
|
|
^D
|
|
[INFO] Skipped '<iframe src></iframe>' at input line 1 column 16
|
|
[]
|
|
```
|
|
|
|
```
|
|
% pandoc -f html -t native --verbose
|
|
<iframe src="h:invalid@url"></iframe>
|
|
^D
|
|
[INFO] Fetching h:invalid@url...
|
|
[WARNING] Could not fetch resource 'h:invalid@url': Could not fetch h:invalid@url
|
|
InvalidUrlException "h:invalid@url" "Invalid scheme"
|
|
[INFO] Skipped '<iframe src="h:invalid@url"></iframe>' at input line 1 column 29
|
|
[]
|
|
```
|