summaryrefslogtreecommitdiffstats
path: root/public/img/svg/octicon-pin.svg
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-03-21 13:39:27 +0800
committerGitHub <noreply@github.com>2023-03-21 13:39:27 +0800
commita797b8458e90caa00427d1270b82031c5e64ec09 (patch)
tree1c29e346f2d8810b8c08551a2e196e976ea26fe7 /public/img/svg/octicon-pin.svg
parent34a2cf5079fb9537d1927ddc57cc3f9267a079fc (diff)
downloadgitea-a797b8458e90caa00427d1270b82031c5e64ec09.tar.gz
gitea-a797b8458e90caa00427d1270b82031c5e64ec09.zip
Keep (add if not existing) xmlns attribute for generated SVG images (#23410)
Fix #23409 Developers could browse & preview the local SVG images files directly. It still has clear output. ![image](https://user-images.githubusercontent.com/2114189/224317107-f4b26c76-e36a-4e80-9eee-d8dc2e16421f.png) ![image](https://user-images.githubusercontent.com/2114189/224317527-2d4ca131-978c-4933-b071-4bae483f06e1.png) --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: delvh <leon@kske.dev>
Diffstat (limited to 'public/img/svg/octicon-pin.svg')
-rw-r--r--public/img/svg/octicon-pin.svg2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/img/svg/octicon-pin.svg b/public/img/svg/octicon-pin.svg
index 7df3a7f248..f41a4a3580 100644
--- a/public/img/svg/octicon-pin.svg
+++ b/public/img/svg/octicon-pin.svg
@@ -1 +1 @@
-<svg viewBox="0 0 16 16" class="svg octicon-pin" width="16" height="16" aria-hidden="true"><path d="M4.456.734a1.75 1.75 0 0 1 2.826.504l.613 1.327a3.08 3.08 0 0 0 2.084 1.707l2.454.584c1.332.317 1.8 1.972.832 2.94L11.06 10l3.72 3.72a.748.748 0 0 1-.332 1.265.75.75 0 0 1-.729-.205L10 11.06l-2.204 2.205c-.968.968-2.623.5-2.94-.832l-.584-2.454a3.08 3.08 0 0 0-1.707-2.084l-1.327-.613a1.75 1.75 0 0 1-.504-2.826ZM5.92 1.866a.253.253 0 0 0-.183-.142.251.251 0 0 0-.221.07L1.794 5.516a.251.251 0 0 0-.07.221c.015.08.068.149.142.183l1.328.613A4.582 4.582 0 0 1 5.73 9.63l.584 2.454a.251.251 0 0 0 .42.12l5.47-5.47a.25.25 0 0 0-.12-.42L9.63 5.73a4.583 4.583 0 0 1-3.098-2.537Z"/></svg> \ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-pin" width="16" height="16" aria-hidden="true"><path d="M4.456.734a1.75 1.75 0 0 1 2.826.504l.613 1.327a3.08 3.08 0 0 0 2.084 1.707l2.454.584c1.332.317 1.8 1.972.832 2.94L11.06 10l3.72 3.72a.748.748 0 0 1-.332 1.265.75.75 0 0 1-.729-.205L10 11.06l-2.204 2.205c-.968.968-2.623.5-2.94-.832l-.584-2.454a3.08 3.08 0 0 0-1.707-2.084l-1.327-.613a1.75 1.75 0 0 1-.504-2.826ZM5.92 1.866a.253.253 0 0 0-.183-.142.251.251 0 0 0-.221.07L1.794 5.516a.251.251 0 0 0-.07.221c.015.08.068.149.142.183l1.328.613A4.582 4.582 0 0 1 5.73 9.63l.584 2.454a.251.251 0 0 0 .42.12l5.47-5.47a.25.25 0 0 0-.12-.42L9.63 5.73a4.583 4.583 0 0 1-3.098-2.537Z"/></svg> \ No newline at end of file