There is no rectangle in the PDF file because the converter does not support static inline SVG elements embedded in HTML.
The converter supports:
1/ External SVG files, for example:
<img src="image.svg" />
2/ SVG elements created dynamically from JavaScript.