Notifications
Clear all

wpForo 1.x.x [Solved] Code post issue

7 Posts
2 Users
1 Likes
311 Views
dimalifragis
Posts: 1377
Topic starter
(@dimalifragis)
Noble Member
Joined: 2 years ago

Hello.

I try to post some code in my forum and i fail. The result is changed. Seen the source, many characters have changed.

Here is an example:

 


                        "
                                    alt=""
                                    style="margin-top:4px;width:173px;height:53px;">
                    
Topic Tags
6 Replies
dimalifragis
Posts: 1377
Topic starter
(@dimalifragis)
Noble Member
Joined: 2 years ago

Here it seems to work. In my forum, it is converted to:

 

<pre contenteditable="false">&lt;strong&gt;
                        &lt;a href="&lt;?php echo osc_base_url(); ?&gt;"&gt;&lt;img
                                    src="&lt;?php echo osc_current_web_theme_url() . "assets/images/logo.png"; ?&gt;"
                                    alt="&lt;?php echo osc_esc_html( tfc_getPref( 'header_logo_text' ) ); ?&gt;"
                                    style="margin-top:4px;width:173px;height:53px;"&gt;&lt;/a&gt;
                    &lt;/strong&gt;</pre>
dimalifragis
Posts: 1377
Topic starter
(@dimalifragis)
Noble Member
Joined: 2 years ago

Can i have some help on this please?

Not the first time i have issues with code posting (solved that issue with the below fix):

https://wpforo.com/community/general-forums-bug-reports/edit-code-posts/

1 Reply
Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 1640

Hi @dimalifragis,

Please provide screenshots.

dimalifragis
Posts: 1377
Topic starter
(@dimalifragis)
Noble Member
Joined: 2 years ago

See the capture: the "style" line gets truncated and scrumbled.

 

 

2 Replies
Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 1640

@dimalifragis,

Sorry for the late response, please check this Topic: https://wpforo.com/community/how-to-and-troubleshooting-2/ratio-turns-into-numbers/#post-62107

dimalifragis
(@dimalifragis)
Joined: 2 years ago

Noble Member
Posts: 1377

@chris Thank you, works ok now.

all the best

Share: