MT 3.16 Pings模版問題
在MovableType 3.16後,nofollow這個plug-in變成是預設裝好的了,不過這個plug-in可能會造成<MTPings>這個標籤裡面的<、>兩個標籤內的東西全部都不見,根據3.16 Known Issues所說,在引用的模版中,要避免這種狀況可以加上sanitize="0"
,如果拿預設模版來改的話,就變成下面的樣子:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />
<meta name="generator" content="http://www.movabletype.org/" />
<title><$MTBlogName encode_html="1"$>: Discussion on <$MTEntryTitle$></title>
<link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />
</head>
<body onload="window.focus()">
<div id="banner">
<h1>Continuing the discussion...</h1>
</div>
<div class="content">
<p>TrackBack URL for this entry:<br />
<$MTEntryTrackbackLink$></p>
<p>Listed below are links to weblogs that reference <a href="<$MTEntryPermalink$>">'<$MTEntryTitle$>'</a> from <a href="<$MTBlogURL$>"><$MTBlogName encode_html="1"$></a>.</p>
<MTPings sanitize="0">
<p id="p<$MTPingID$>">
» <a href="<$MTPingURL$>"><$MTPingTitle$></a> from <$MTPingBlogName encode_html="1"$><br />
<$MTPingExcerpt$> <a href="<$MTPingURL$>">[Read More]</a>
</p>
<p class="posted">Tracked on <$MTPingDate$></p>
</MTPings>
</div>
</body>
</html>