{"id":242,"date":"2008-11-01T21:06:33","date_gmt":"2008-11-01T21:06:33","guid":{"rendered":"http:\/\/tlindner.macmess.org\/?p=242"},"modified":"2008-11-01T21:06:33","modified_gmt":"2008-11-01T21:06:33","slug":"pre-with-line-breaks","status":"publish","type":"post","link":"https:\/\/tlindner.macmess.org\/?p=242","title":{"rendered":"Pre with line breaks"},"content":{"rendered":"<p>I know I am going to forget this. So I am going to write a post about this and I am hoping this process will help me remember this information.<\/p>\n<p>Recently I needed to add some content to a wiki, but I didn&#8217;t want to pre-parse the data to escape any wiki or html formatting. What I wanted was the pre tag. But the pre tag will not line break the content to fit on the page. I need a pre tag <b>with<\/b> line breaks. Here is the standards based  way to do this:<\/p>\n<p><pre style=\"white-space: pre-wrap\"><\/p>","protected":false},"excerpt":{"rendered":"<p>I know I am going to forget this. So I am going to write a post about this and I am hoping this process will help me remember this information. Recently I needed to add some content to a wiki, &hellip; <a href=\"https:\/\/tlindner.macmess.org\/?p=242\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-242","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/posts\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=242"}],"version-history":[{"count":1,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/posts\/242\/revisions"}],"predecessor-version":[{"id":243,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/posts\/242\/revisions\/243"}],"wp:attachment":[{"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}