我有以下代码
<pre>
<p style="margin:0;font-weight:bold;padding:5px;">HTACCESS Test</p><hr>
<code>
<FilesMatch "^.">
Order allow,deny
Deny from all
</FilesMatch>
</code>
</pre>
正如您在运行代码时所看到的,<FilesMatch "^.">
和</FilesMatch>
行不会出现。我做错什么了吗?
提前感谢
对于其他正在寻找解决方案的人,在<pre>
和<code>
标记中使用HTML字符时,需要转义它们。