以棋会友聚嵩县 湖山圣域迎客来
楚河汉界烽烟起 南开新星震全场
' CleanTitleTags - strip HTML tag fragments stored inside old forum titles (2026-11-17) ' Old posts kept ... etc. in Dv_Topic.Title; escaped ' rendering shows them as literals. Strip ALL tag-like fragments (raw + entity ' forms), then trim. Safe: normal titles never contain tag-like text. Function CleanTitleTags(ByVal s) Dim reTitle, strTitle strTitle = s & "" If InStr(strTitle, "<") = 0 And InStr(strTitle, "<") = 0 Then CleanTitleTags = Trim2(strTitle) Exit Function End If Set reTitle = New RegExp reTitle.Global = True reTitle.IgnoreCase = True reTitle.Pattern = "?[a-zA-Z][^>]*>" strTitle = reTitle.Replace(strTitle, "") reTitle.Pattern = "</?[a-zA-Z][^&]*?>" strTitle = reTitle.Replace(strTitle, "") Set reTitle = Nothing CleanTitleTags = Trim2(strTitle) End Function
以棋会友聚嵩县 湖山圣域迎客来
楚河汉界烽烟起 南开新星震全场
请先 登录 后留言