没有合适的资源?快使用搜索试试~ 我知道了~
html_entities:用于解码HTML实体的Elixir模块
共12个文件
exs:5个
ex:2个
gitignore:1个
需积分: 10 0 下载量 94 浏览量
2021-05-10
09:10:58
上传
评论
收藏 10KB ZIP 举报
温馨提示
HTML实体 Elixir模块,用于对字符串中HTML实体进行解码和编码。 实体名称,代码点及其对应的字符是从复制的。 安装 将依赖项添加到mix.exs文件,然后运行mix deps.get 。 defp deps do [ { :html_entities , " ~> 0.5 " } ] end 用法 在IEx内部: iex > HtmlEntities . decode ( " Tom & Jerry " ) " Tom & Jerry " iex > HtmlEntities . decode ( " ¡Ay, caramba! " ) " ¡Ay, caramba! " iex > HtmlEntities . encode ( " << KAPOW>> " ) " << KAPOW!! >> " 在模块
资源推荐
资源详情
资源评论
收起资源包目录
html_entities-master.zip (12个子文件)
html_entities-master
.gitignore 623B
README.md 2KB
test
test_helper.exs 15B
html_entities
util_test.exs 891B
html_entities_test.exs 1KB
LICENSE 1KB
config
config.exs 15B
mix.lock 2KB
lib
html_entities.ex 2KB
html_entities
util.ex 820B
html_entities_list.txt 3KB
mix.exs 995B
共 12 条
- 1
资源评论
GDMS
- 粉丝: 31
- 资源: 4529
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功