Notifications
Clear all

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

7 Posts
2 Users
1 Reactions
1,068 Views
dimalifragis
Posts: 2611
Topic starter
(@dimalifragis)
Famed Member
Joined: 5 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: 2611
Topic starter
(@dimalifragis)
Famed Member
Joined: 5 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: 2611
Topic starter
(@dimalifragis)
Famed Member
Joined: 5 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
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

Hi @dimalifragis,

Please provide screenshots.

dimalifragis
Posts: 2611
Topic starter
(@dimalifragis)
Famed Member
Joined: 5 years ago

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

 

 

2 Replies
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@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: 5 years ago

Famed Member
Posts: 2611

@chris Thank you, works ok now.

all the best