Hi,

When I try to embed external images to html I have no problem. But epub book rendering gives error.

- When I use `![]()` syntax I get following error:

`![saplı polip](https://pathologyatlas.github.io/tubularadenoma/tubular-adenoma-with-stalk-macroscopy.jpg)
`

```
! Unable to load picture or PDF file 'https://github.com/pathologyatlas/tubular
adenoma/raw/main/tubular-adenoma-with-stalk-macroscopy.jpg'.
<to be read again> 
```

- If I use `img src` I get following error:

`<img src="https://pathologyatlas.github.io/tubularadenoma/tubular-adenoma-with-stalk-macroscopy.jpg">`

```
Error running filter /Applications/quarto/share/filters/quarto-pre/quarto-pre.lua:
...lications/quarto/share/filters/quarto-pre/quarto-pre.lua:1774: attempt to concatenate a nil value
stack traceback:
	[C]: in function 'string.gsub'
	...lications/quarto/share/filters/quarto-pre/quarto-pre.lua:1773: in function 'handleHtmlRefs'
	...lications/quarto/share/filters/quarto-pre/quarto-pre.lua:1759: in function 'handleRawElement'
	...lications/quarto/share/filters/quarto-pre/quarto-pre.lua:3946: in function <...lications/quarto/share/filters/quarto-pre/quarto-pre.lua:3940>
```

I am using 0.9.71

Best wishes

Serdar


2022-03-07T14:29:58Z
sbalci
closed
embedding external images for epub books
https://github.com/quarto-dev/quarto-cli/issues/392