using “?” in SVG href

2019-07-31 02:12发布

I'm having some major problems trying to get a "?" inside of hrefs that are part of my SVG scripts. I want to link to other parts of my website from inside of my SVGs, and most of my pages are dynamic that require $_GET variables to create them on the fly. SVG seems to throw a spaz every time I try to include question marks inside the href, but I need to do that in order to deliver the $_GET variables... is there another way??!

标签: php get svg href
1条回答
叼着烟拽天下
2楼-- · 2019-07-31 02:51

Have you try to replace it with the ascii code instead? ? In the same way that you have to replace the & by &

查看更多
登录 后发表回答