S
S
saveTibet2016-12-01 18:26:28
HTML
saveTibet, 2016-12-01 18:26:28

How to write a self-closing PATH tag in Jade, which is used in inline SVG?

It looks like Jade doesn't recognize this tag as a self-closing tag and tells me <path></path>.What am I doing wrong?
doctype -<!DOCTYPE html>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Oleg, 2016-12-01
@werty1001

svg: path(d='M7 13A6 6 0 0 14z')/

V
VostokSisters, 2016-12-08
@VostokSisters

path/ or /path, 50% sure about each.

M
morozov313, 2020-08-23
@morozov313

path(d="some code")/
slash at the end, after the attributes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question