1
我试图在URL中包含<和>以引用erlang Pid
。HTML与&lt;&gt;将后者转换为>但不是前者
我的输出:
"You see only the darkness of the cavern.<br><a href=/choices/<0.223.0>>Venture cautiously.</a><br>"
我粘贴到foo.html
和开放,我得到一个链接到
文件:///%22 /选择/ & lt0.207.0%3E/22%
注意>来自%3E,但& lt没有。为什么两个HTML字符不能保持为<和>?