<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>&amp;lt Archives - CyberBlogSpot</title>
	<atom:link href="https://cyberblogspot.com/tag/lt/feed/" rel="self" type="application/rss+xml" />
	<link>https://cyberblogspot.com/tag/lt/</link>
	<description>Not just another blogspot site</description>
	<lastBuildDate>Sun, 22 Jan 2023 08:41:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://cyberblogspot.com/wp-content/uploads/2018/08/cropped-iphone-iphone3gs-32x32.jpg</url>
	<title>&amp;lt Archives - CyberBlogSpot</title>
	<link>https://cyberblogspot.com/tag/lt/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>WordPress Code Block &#038;lt Problem</title>
		<link>https://cyberblogspot.com/wordpress-code-block-lt-problem/</link>
					<comments>https://cyberblogspot.com/wordpress-code-block-lt-problem/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 22 Jan 2023 08:41:15 +0000</pubDate>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[&gt]]></category>
		<category><![CDATA[&lt]]></category>
		<category><![CDATA[>]]></category>
		<category><![CDATA[<]]></category>
		<category><![CDATA[Code Block]]></category>
		<category><![CDATA[Crayon Syntax Highlighter]]></category>
		<category><![CDATA[crayon-syntax-highlighter]]></category>
		<category><![CDATA[Greater Than Sign]]></category>
		<category><![CDATA[Less Than Sign]]></category>
		<category><![CDATA[Program]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://cyberblogspot.com/?p=5925</guid>

					<description><![CDATA[<p>The WordPress code block &#38;lt problem is the problem about the less than sign (&#60;) and the greater than sign (&#62;) being rendered into &#38;lt and &#38;gt, respectively. The problem is illustrated by Figures 1 and 2. Figure 1 shows the program source code as it appears on the WordPress code block. The page preview&#8230;&#160;<a href="https://cyberblogspot.com/wordpress-code-block-lt-problem/" rel="bookmark">Read More &#187;<span class="screen-reader-text">WordPress Code Block &#038;lt Problem</span></a></p>
<p>The post <a href="https://cyberblogspot.com/wordpress-code-block-lt-problem/">WordPress Code Block &#038;lt Problem</a> appeared first on <a href="https://cyberblogspot.com">CyberBlogSpot</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The WordPress code block &amp;lt problem is the problem about the less than sign (&lt;) and the greater than sign (&gt;) being rendered into &amp;lt and &amp;gt, respectively.  </p>



<p>The problem is illustrated by Figures 1 and 2.  Figure 1 shows the program source code as it appears on the WordPress code block.  The page preview is shown in Figure 2.  As can be seen, the line &#8220;#include &lt;SoftwareSerial.h&gt;&#8221; becomes &#8220;#include &amp;lt;SoftwareSerial.h&amp;gt;&#8221;.  That is, the less than sign (&lt;) is replaced by &#8220;&amp;lt&#8221; and the greater than sign becomes &#8220;&amp;gt&#8221;.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-original.png"><img fetchpriority="high" decoding="async" src="https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-original.png" alt="Screenshot of the code block showing the WordPress Code Block &amp;lt Problem" class="wp-image-5933" width="816" height="579" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-original.png 816w, https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-original-300x213.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-original-768x545.png 768w" sizes="(max-width: 816px) 100vw, 816px" /></a><figcaption class="wp-element-caption">Figure 1.  Source Code on the WordPress Code Block</figcaption></figure></div>


<p></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block1.png"><img decoding="async" width="817" height="396" src="https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block1.png" alt="Screenshot of the page preview depicting the WordPress Code Block &amp;lt Problem" class="wp-image-5934" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block1.png 817w, https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block1-300x145.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block1-768x372.png 768w" sizes="(max-width: 817px) 100vw, 817px" /></a><figcaption class="wp-element-caption">Figure 2.  WordPress Page Preview of the Source Code Page</figcaption></figure></div>


<p></p>



<p>As it turns out, the problem is caused by the crayon-syntax-highlighter plugin.  Fortunately, there is a simple fix for the problem.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings.png"><img decoding="async" width="819" height="602" src="https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings.png" alt="Screenshot of the crayon-syntax-highlighter settings that can solve the WordPress Code Block &amp;lt Problem" class="wp-image-5939" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings.png 819w, https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings-300x221.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings-768x565.png 768w" sizes="(max-width: 819px) 100vw, 819px" /></a><figcaption class="wp-element-caption">Figure 3.  crayon-syntax-highlighter Settings</figcaption></figure></div>


<p></p>



<p>Go to WordPress Settings/Crayon.  Under the Code settings, check the item &#8220;Decode HTML entities in code&#8221;.  Please refer to Figure 3.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings-save.png"><img loading="lazy" decoding="async" width="819" height="602" src="https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings-save.png" alt="Screenshot of how to save the changes on crayon-syntax-highlighter to fix the WordPress Code Block &amp;lt Problem" class="wp-image-5941" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings-save.png 819w, https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings-save-300x221.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/01/wordpress-crayon-syntax-highlighter-settings-save-768x565.png 768w" sizes="auto, (max-width: 819px) 100vw, 819px" /></a><figcaption class="wp-element-caption">Figure 4.  crayon-syntax-highlighter Save Changes</figcaption></figure></div>


<p></p>



<p>Then, go to the bottom of the settings page and click on the Save Changes button, as shown in Figure 4.  Then after a new page preview, you should get a properly rendered source code page.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-fixed.png"><img loading="lazy" decoding="async" width="814" height="553" src="https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-fixed.png" alt="Picture of the preview page of the with the WordPress Code Block &amp;lt Problem solved" class="wp-image-5942" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-fixed.png 814w, https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-fixed-300x204.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/01/source-code-block-fixed-768x522.png 768w" sizes="auto, (max-width: 814px) 100vw, 814px" /></a><figcaption class="wp-element-caption">Figure 5.  Page Preview of the Fixed Source Code Problem</figcaption></figure></div>


<h2 class="wp-block-heading">References on WordPress Code Block &amp;lt Problem</h2>



<p><a href="https://wordpress.com/?aff=27964" target="_blank" rel="noreferrer noopener">WordPress</a></p>



<p><a href="https://github.com/urvanov-ru/crayon-syntax-highlighter" target="_blank" rel="noreferrer noopener">crayon-syntax-highlighter</a></p>
<p>The post <a href="https://cyberblogspot.com/wordpress-code-block-lt-problem/">WordPress Code Block &#038;lt Problem</a> appeared first on <a href="https://cyberblogspot.com">CyberBlogSpot</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cyberblogspot.com/wordpress-code-block-lt-problem/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
