Skip to content

Commit fa37460

Browse files
authored
fix: HTML rendering cannot obtain geolocation (#5104)
1 parent 4d663d7 commit fa37460

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ui/src/components/markdown/HtmlRander.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
class="iframe"
55
style="border: 0; width: 100%"
66
:srcdoc="fSource"
7+
allow="geolocation"
78
sandbox="allow-scripts"
89
/>
910
</template>

ui/src/components/markdown/IframeRender.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
style="border: 0; width: 100%"
77
class="iframe"
88
:srcdoc="finalSource"
9+
allow="geolocation"
910
sandbox="allow-scripts"
1011
/>
1112
</div>

0 commit comments

Comments
 (0)