{"id":642,"date":"2007-06-27T01:33:00","date_gmt":"2007-06-27T01:33:00","guid":{"rendered":"http:\/\/127.0.0.1\/site\/2017\/2\/1985\/a_quick_tech_note_on_html_in_comments\/"},"modified":"2007-06-27T01:33:00","modified_gmt":"2007-06-27T01:33:00","slug":"a_quick_tech_note_on_html_in_comments","status":"publish","type":"post","link":"https:\/\/kendallharmon.net\/?p=642","title":{"rendered":"A quick tech note on HTML in comments &#8211;UPDATED"},"content":{"rendered":"<p>Just realized there&#8217;s a tech update we&#8217;ve been meaning to post for a few days, but have kept forgetting about.<\/p>\n<p>We THINK that we&#8217;ve figured out a way to solve the problems with HTML code (bold, italics, blockquote formatting) not working consistently in the comments.<\/p>\n<p>Use SQUARE BRACKETS [ ]<br \/>\ninstead of the normal angle brackets &#60; &#62;<\/p>\n<p>Thus, the code for bold text would be as follows:<\/p>\n<p>&#91;b&#93; text you want in bold &#91;&#47;b&#93;<\/p>\n<p>We&#8217;ll keep any eye on how this works.  Hopefully it will solve the bizarre problem.  Feel free to send us links if comments continue to have HTML problems.<\/p>\n<p><b>IMPORTANT UPDATE:<\/b><br \/>\nIt seems that while the square brackets work more consistently for formatting (bold, italic, blockquote, and strikethrough&#8230;), <b>the angle brackets work best for LINKS (anchors) when posting a URL.<\/b><\/p>\n<p>(<i>Note that the software does automatically format URLs for you.  So if your link is short, you can just enter in the address in your comment, e.g. http:\/\/new.kendallharmon.net\/wp-content\/uploads\/ .  I simply pasted in the address there without any code.  The software did the formatting.<\/i>)<\/p>\n<p>However for long links, we prefer if you would add the anchor link coding.  Here&#8217;s what that looks like:<br \/>\n &#60;a href=&#8221;http:\/\/www&#8230;.&#8221;&#62;name of the link&#60;&#47;a&#62;<br \/>\nNote: the quotation marks around the URL address are essential.  Without them the code does not work.<\/p>\n<p>Feel free to use this comment thread for tests.  And do keep us posted as to any further examples of problems with HTML in the comments.<\/p>\n<p>==========<\/p>\n<p>UPDATE #2:<\/p>\n<p>This elf thinks she might go insane.  Angle brackets seem to work &#8220;ok&#8221; for short links.  But if you&#8217;ve got a longer more complex links with spaces or &#8220;arguments&#8221; (i.e. like a search result for a Bible passage or something), they don&#8217;t work.<\/p>\n<p>One of our fabulous commenters, Patti, discovered the SOLUTION, which she <a href=\"http:\/\/new.kendallharmon.net\/wp-content\/uploads\/index.php\/t19\/article\/3973\/#72044\" title=\"explains below in the comments\">explains below in the comments<\/a>.  Use what&#8217;s known as &#8220;Bulletin Board&#8221; code.<\/p>\n<p>here&#8217;s how Bulletin Board code works for links.  It&#8217;s actually easier than HTML.<\/p>\n<p>&#91;url= the link &#93; the name &#91;&#47;url&#93;<\/p>\n<p>thus for T19 it looks like this:<br \/>\n&#91;url=http:\/\/new.kendallharmon.net\/wp-content\/uploads\/&#93;Titusonenine&#91;&#47;url&#93;<\/p>\n<p>We&#8217;ll update the comment format help section when we get a chance to reflect this new information.<br \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just realized there&#8217;s a tech update we&#8217;ve been meaning to post for a few days, but have kept forgetting about. We THINK that we&#8217;ve figured out a way to solve the problems with HTML code (bold, italics, blockquote formatting) not<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/kendallharmon.net\/?p=642\">Read more &#8250;<\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":832,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"class_list":["post-642","post","type-post","status-publish","format-standard","hentry","category-admin"],"_links":{"self":[{"href":"https:\/\/kendallharmon.net\/index.php?rest_route=\/wp\/v2\/posts\/642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kendallharmon.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kendallharmon.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kendallharmon.net\/index.php?rest_route=\/wp\/v2\/users\/832"}],"replies":[{"embeddable":true,"href":"https:\/\/kendallharmon.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=642"}],"version-history":[{"count":0,"href":"https:\/\/kendallharmon.net\/index.php?rest_route=\/wp\/v2\/posts\/642\/revisions"}],"wp:attachment":[{"href":"https:\/\/kendallharmon.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kendallharmon.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kendallharmon.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}