Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

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

7 Posts
2 Users
1 Reactions
1,604 Views
dimalifragis
Posts: 2600
Topic starter
(@dimalifragis)
Famed Member
Joined: 6 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: 2600
Topic starter
(@dimalifragis)
Famed Member
Joined: 6 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: 2600
Topic starter
(@dimalifragis)
Famed Member
Joined: 6 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: 4 years ago

Famed Member
Posts: 3610

Hi @dimalifragis,

Please provide screenshots.


dimalifragis
Posts: 2600
Topic starter
(@dimalifragis)
Famed Member
Joined: 6 years ago

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

 

 


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

Famed Member
Posts: 3610

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

Famed Member
Posts: 2600

@chris Thank you, works ok now.

all the best