firebirder
Forum Replies Created
-
Forum: Plugins
In reply to: [SyntaxHighlighter Evolved] php opening & closing tags break code blocksHi Alex.
Forgive me for pause with answer.
My posts with source code were created manually. I directly created the database records, when I migrated my site (~15 years old) onto WP. My WP-site uses custom theme with disabled ‘wpautop’.
I do not mask the ‘<‘,’>’ and other symbols. Because all worked without this transfomation. May be it is my mistake.
Before 3.2.0 all worked fine. After – no.
I will think about correction of my database in future.
—–
The URL of problem source code – https://www.ibprovider.com/eng/examples/lcpi_oledb_net__c001__example_0008.html—–
Regards,
Dmitry Kovalenko.Forum: Plugins
In reply to: [SyntaxHighlighter Evolved] php opening & closing tags break code blocksHi
The problem with existing posts with source code.
After installation of v3.2.1, source code displayed incorrectly.
Need open the code in editor and save it – “sb.Length < c_min_text_size” will be saved in database as “sb.Length [html entity for <] c_min_text_size”.
———–
Step for reproduction:1. Create new post in WP (with your v3.2.1):
[sourcecode language="csharp"]
while(sb.Length<c_min_text_size)
sb.Append(c_template_str);
[/sourcecode]2. Open the WP database in Workbench
3. Select the post record:
select * from wp_posts p where p.post_name like ‘%NEW_TEST_POST_NAME%’4. Replace the ‘Post_content’ field to:
[sourcecode language="csharp"]
while(sb.Length<c_min_text_size)
sb.Append(c_template_str);
[/sourcecode]5. Open the post in web browser.
Forum: Plugins
In reply to: [SyntaxHighlighter Evolved] php opening & closing tags break code blocksHi
Seems, the problem still exists (v3.2.1).
Test code:
[sourcecode language="csharp"] while(sb.Length<c_min_text_size) sb.Append(c_template_str); [/sourcecode]