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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -