Jump to content

Recommended Posts

 

Seems like the posting system is effecting certain content (at least in Chrome 3.0.195.33)

 

 

For example, the following snippet contains a div tag...(looks like this):

<div class="story"> XXX A BUNCH OF PLAIN TEXT XXX </ div> <--- without the space within the closing tag, this is displayed as <> in the preview window (yet is retained properly in the post field). This issue is even effected within code and php tags as well:

 


$source = <<<EOF
   <div class="story"> XXX A BUNCH OF PLAIN TEXT XXX <>
EOF;

 

 

$source = <<<EOF
   <div class="story"> XXX A BUNCH OF PLAIN TEXT XXX <>
EOF;

 

 

I tested that snippet in Opera (10.10), IE 7 and FireFox 3.5.4 and displays everything perfectly.  :facewall: 

[ot]

 

 

Damn, I really hope I don't have to start using another browser when it comes to posting code snippets like before the forum upgrade. It's becoming extremely frustrating.. I would really like to know what the hell the culprit is with this system and Chrome.  :suicide: [/ot]

 

 

I'm going to hazard a guess that this problem is not reproduceable for you guys? <em>Please help!</em> <-- just testing... that seems ok.

 

 

[ot]

Posting the div snippet in Firefox in a new topic and previewing it gives me this:

<div class="story"> XXX A BUNCH OF PLAIN TEXT XXX <>[/size][/color]

(only it doesn't contain the color or font bbc tags.. that was added when I pasted it here in Chrome... Stop this world from spinning, I want to get off!)

[/ot]

 

 

On the bright side, posting regex patterns doesn't get mangled within Chrome (mangled = missing backslashes and quantifiers and such) like prior to the forum upgrade (so far, so good on that front).

Link to comment
https://forums.phpfreaks.com/topic/183906-problematic-post-preview-display/
Share on other sites

Are you by any chance using the WYSIWYG editor? Try turning it off.

 

<div class="story"> XXX A BUNCH OF PLAIN TEXT XXX </div>

 

<div class="story"> XXX A BUNCH OF PLAIN TEXT XXX </div>

 

<div class="story"> XXX A BUNCH OF PLAIN TEXT XXX </div>

 

Ah, that seems to be the issue (at least from this test with WYSIWYG turned off..) Seems to be working in Chrome now (not sure about King Philip's situation with it off though..  and yeah Philip.. I think there was another issue regarding Chrome a short while ago.. )

 

[ot]

I thought WYSIWYG was disabled by default - at least I think I read something about that ove rat SMF.. granted, perhaps our profiles are by default configured differently? In any case, thanks for the heads up.. if there are any other issues, I'll let you guys know.  :sweat:

[/ot]

Oddly enough.. I checked my profile settings in Opera, FF and IE, and they had WYSIWYG disabled.. for some reason, Chrome had it enabled (yet I didn't touch that option previously). Things that make you go 'Hmmmmm'...

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.