javascript - canvg fails on svg with xmlns -


i using canvg render following svg canvas fails. not sure why

<svg class="circularreferencesvg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">             <marker xmlns="http://www.w3.org/2000/svg" id="triangle" viewbox="0 0 10 10" refx="0" refy="5" markerunits="strokewidth" markerwidth="4" markerheight="4" orient="auto">                 <path d="m 0 0 l 10 5 l 0 10 z" fill="#000000"></path>             </marker>         </svg> 

my guess has xmlns. not find on canvg webpage it. appreciated.

here screenshot of canvg seems fail here point , angle undefined


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -