{"id":62,"date":"2019-07-23T17:04:03","date_gmt":"2019-07-23T09:04:03","guid":{"rendered":"https:\/\/www.book11111.com\/?p=62"},"modified":"2019-07-23T17:04:04","modified_gmt":"2019-07-23T09:04:04","slug":"%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/","title":{"rendered":"\u89e3\u51b3Drupal\u7684Geshi\u5c06\u8f6c\u4e49\u4e3a&gt;\u7684\u95ee\u9898"},"content":{"rendered":"<p>\u672c\u4eba\u4f7f\u7528CKEditor7.x-1.18\u3001GeSHi Filter7.x-1.2\uff0c\u5728\u914d\u7f6e\u5b8cCKEditor profile\u548c\u6587\u672c\u683c\u5f0f\u4e4b\u540e\uff0c\u4f7f\u7528\u6e90\u4ee3\u7801\u6dfb\u52a0\u4ee3\u7801\u9ad8\u4eae\u6b63\u5e38\uff0c\u4f46\u662f\u5728\u6240\u89c1\u5373\u6240\u5f97\u6a21\u5f0f\u4e0b\u6dfb\u52a0\u4ee3\u7801\u9ad8\u4eae\u683c\u5f0f\u88ab\u7834\u574f\uff0c\u5982&lt;\u4f1a\u88ab\u8f6c\u4e49\u4e3a&lt;\u00a0 &gt;\u4f1a\u88ab\u8f6c\u4e49\u4e3a&gt;<\/p>\n<p>\u6700\u7ec8\u53d1\u73b0\u662fGeSHi\u6a21\u5757\u7684\u95ee\u9898\uff0c\u89e3\u51b3\u65b9\u6848\u5982\u4e0b\uff1a<\/p>\n<p>geshifilter.pages.inc.patch\u6587\u4ef6<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">--- geshifilter.pages_orig.inc\t2008-05-01 22:26:14.000000000 +0200\n+++ geshifilter.pages.inc\t2009-01-13 16:54:44.000000000 +0100\n@@ -220,7 +220,7 @@ function _geshifilter_replace_callback($\n   $complete_match = $match[0];\n   $tag_name = $match[1];\n   $tag_attributes = $match[2];\n-  $source_code = $match[3];\n+  $source_code = strip_tags(decode_entities($match[3]));\n\u00a0\n   \/\/ Undo linebreak and escaping from preparation phase.\n   $source_code = decode_entities($source_code);<\/pre>\n<p>\u4e4b\u540e\uff0c\u91cd\u5199\u6dfb\u52a0\u4ee3\u7801\u6bb5\uff0c\u53d1\u73b0\u5df2\u4e0d\u518d\u81ea\u52a8\u8f6c\u4e49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u4eba\u4f7f\u7528CKEditor7.x-1.18\u3001GeSHi Filter7.x-1.2\uff0c\u5728\u914d\u7f6e\u5b8cCKEditor p [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-62","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u89e3\u51b3Drupal\u7684Geshi\u5c06\u8f6c\u4e49\u4e3a&gt;\u7684\u95ee\u9898 - \u6c88\u8d85\u7684\u535a\u5ba2<\/title>\n<meta name=\"description\" content=\"arm,dsp,pcb,fpga,zynq,\u5e38\u7528\u8f6f\u4ef6altium designed,\u7b97\u6cd5\" \/>\n<link rel=\"canonical\" href=\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/\u89e3\u51b3drupal\u7684geshi\u5c06\u8f6c\u4e49\u4e3a\u7684\u95ee\u9898\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u89e3\u51b3Drupal\u7684Geshi\u5c06\u8f6c\u4e49\u4e3a&gt;\u7684\u95ee\u9898 - \u6c88\u8d85\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"arm,dsp,pcb,fpga,zynq,\u5e38\u7528\u8f6f\u4ef6altium designed,\u7b97\u6cd5\" \/>\n<meta property=\"og:url\" content=\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/\u89e3\u51b3drupal\u7684geshi\u5c06\u8f6c\u4e49\u4e3a\u7684\u95ee\u9898\/\" \/>\n<meta property=\"og:site_name\" content=\"\u6c88\u8d85\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-23T09:04:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-23T09:04:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/116.62.123.213\/#website\",\"url\":\"http:\/\/116.62.123.213\/\",\"name\":\"\\u6c88\\u8d85\\u7684\\u535a\\u5ba2\",\"description\":\"arm,dsp,pcb,fpga,zynq,\\u5e38\\u7528\\u8f6f\\u4ef6altium designed,\\u7b97\\u6cd5\",\"publisher\":{\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"http:\/\/116.62.123.213\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/#webpage\",\"url\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/\",\"name\":\"\\u89e3\\u51b3Drupal\\u7684Geshi\\u5c06\\u8f6c\\u4e49\\u4e3a&gt;\\u7684\\u95ee\\u9898 - \\u6c88\\u8d85\\u7684\\u535a\\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/116.62.123.213\/#website\"},\"datePublished\":\"2019-07-23T09:04:03+00:00\",\"dateModified\":\"2019-07-23T09:04:04+00:00\",\"description\":\"arm,dsp,pcb,fpga,zynq,\\u5e38\\u7528\\u8f6f\\u4ef6altium designed,\\u7b97\\u6cd5\",\"breadcrumb\":{\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"http:\/\/116.62.123.213\/\",\"url\":\"http:\/\/116.62.123.213\/\",\"name\":\"\\u9996\\u9875\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/\",\"url\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/\",\"name\":\"\\u89e3\\u51b3Drupal\\u7684Geshi\\u5c06\\u8f6c\\u4e49\\u4e3a&gt;\\u7684\\u95ee\\u9898\"}}]},{\"@type\":\"Article\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/#webpage\"},\"author\":{\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\"},\"headline\":\"\\u89e3\\u51b3Drupal\\u7684Geshi\\u5c06\\u8f6c\\u4e49\\u4e3a&gt;\\u7684\\u95ee\\u9898\",\"datePublished\":\"2019-07-23T09:04:03+00:00\",\"dateModified\":\"2019-07-23T09:04:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/%e8%a7%a3%e5%86%b3drupal%e7%9a%84geshi%e5%b0%86%e8%bd%ac%e4%b9%89%e4%b8%ba%e7%9a%84%e9%97%ae%e9%a2%98\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\",\"name\":\"\\u6c88\\u8d85\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/116.62.123.213\/#personlogo\",\"inLanguage\":\"zh-Hans\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/40261dfac05f2d465bb2abf96c1c4e8ceaf45876aec9d52e6b86ef40372d06f0?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/40261dfac05f2d465bb2abf96c1c4e8ceaf45876aec9d52e6b86ef40372d06f0?s=96&d=identicon&r=g\",\"caption\":\"\\u6c88\\u8d85\"},\"logo\":{\"@id\":\"http:\/\/116.62.123.213\/#personlogo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts\/62","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/comments?post=62"}],"version-history":[{"count":1,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts\/62\/revisions"}],"predecessor-version":[{"id":63,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts\/62\/revisions\/63"}],"wp:attachment":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/categories?post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/tags?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}