github / github/template-parts

SVG <path d="M {{x}} {{y}}"...> throws error

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
166
Forks
17
PR merge metrics
No merged PRs in 30d

Description

```js
const svgtpl = document.createElement('template')
svgtpl.innerHTML = ''
let tpl = new TemplateInstance(svgtpl, {x:0})
```
Throws
```
Error: attribute d: Unexpected end of attribute. Expected number, "M ".
```

By nature similar to #25

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.