开发者

Why does WP auto-complete the a-tag?

开发者 https://www.devze.com 2023-02-12 17:12 出处:网络
If I write a post or a page containi开发者_C百科tg: <a href=\"#something\"> bla </a> WP autocompletes it with

If I write a post or a page containi开发者_C百科tg:

<a href="#something"> bla </a>

WP autocompletes it with

<a href="http://www.thewholedamnpath.com/?page_id=291#something">bla</a>

I sincerely don't need this feature, so, what is the way to bypass it?


Found the solution: http://wordpress.org/extend/plugins/raw-html/

Using the plugin a chunk of code can be wrapped inside [RAW]...[/RAW] tags, and that code will remain untouched by WordPress.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号