当前位置:网站首页>prompt.ml/15中<svg>标签使用解释
prompt.ml/15中<svg>标签使用解释
2022-07-31 04:14:00 【树迷了路】
不使用<svg>,返回:
<p class="comment" title=""><!--" data-comment='{"id":0}'></p>
<p class="comment" title="--><script><!--" data-comment='{"id":1}'></p>
<p class="comment" title="-->prompt(1<!--" data-comment='{"id":2}'></p>
<p class="comment" title="-->)</script>" data-comment='{"id":3}'></p>
拿到网页中看一下;
可以看到,由于<script>是原始文本标签,其内部的<!-- --> 变成了文本以至失效;
但由于<svg>和<html>是不同的命名空间,且<svg>支持XML语法格式,在XML中支持<!-- -->注释。
因此得用<svg>来改变命名空间,从而使得所有注释符可以生效。
边栏推荐
- Just debuted "Fight to Fame", safety and comfort are not lost
- 「 每日一练,快乐水题 」1331. 数组序号转换
- (四)递归、可变参数、访问修饰符、理解 main 方法、代码块
- 已解决(最新版selenium框架元素定位报错)NameError: name ‘By‘ is not defined
- 【论文阅读】Mastering the game of Go with deep neural networks and tree search
- Redis 统计用户新增和留存
- ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your
- Component pass value provide/inject
- el-image tag doesn't work after binding click event
- qlib自动化quant
猜你喜欢
Regarding the primary key id in the mysql8.0 database, when the id is inserted using replace to be 0, the actual id is automatically incremented after insertion, resulting in the solution to the repea
No qualifying bean of type question
qlib架构
ERROR 1819 (HY000) Your password does not satisfy the current policy requirements
BUG消灭者!!实用调试技巧超全整理
强化学习:从入门到入坑再到拉屎
论治理与创新 | 2022开放原子全球开源峰会OpenAnolis分论坛圆满召开
Win10 CUDA CUDNN 安装配置(torch paddlepaddle)
BUG destroyer!!Practical debugging skills are super comprehensive
VScode+ESP32快速安装ESP-IDF插件
随机推荐
Can't load /home/Iot/.rnd into RNG
重磅 | 基金会为白金、黄金、白银捐赠人授牌
【C语言进阶】文件操作(一)
[Paper reading] Mastering the game of Go with deep neural networks and tree search
Unity2D 自定义Scriptable Tiles的理解与使用(四)——开始着手构建一个基于Tile类的自定义tile(下)
Based on the local, linking the world | Schneider Electric "Industrial SI Alliance" joins hands with partners to go to the future industry
How Zotero removes auto-generated tags
Safety 20220718
MATLAB/Simulink&&STM32CubeMX工具链完成基于模型的设计开发(MBD)(三)
A brief introduction to the CheckBox component of the basic components of Flutter
Regarding the primary key id in the mysql8.0 database, when the id is inserted using replace to be 0, the actual id is automatically incremented after insertion, resulting in the solution to the repea
专访 | 阿里巴巴首席技术官程立:云+开源共同形成数字世界的可信基础
el-image tag doesn't work after binding click event
MySQL数据库备份
[C language] General method of expression evaluation
MySQL数据库安装配置保姆级教程(以8.0.29为例)有手就行
volatile内存语义以及实现 -volatile写和读对普通变量的影响
ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your
微信小程序使用云函数更新和添加云数据库嵌套数组元素
ENSP, VLAN division, static routing, comprehensive configuration of Layer 3 switches