tomfmason Posted August 3, 2006 Share Posted August 3, 2006 I just tried to preview a large post and it displayed the escape cartures. It is like it is displaying the results from preg_replace or something.[b]Edit[/b]When I tried to post what I copied from the preview, it showed just fine in this post.??Thanks,Tom Link to comment https://forums.phpfreaks.com/topic/16449-preview-a-little-buggy/ Share on other sites More sharing options...
tomfmason Posted August 3, 2006 Author Share Posted August 3, 2006 Also, everytime I submit a post with several if's it gets knocked ascew. I always spend about ten minutes fixing them. Here is an example [url=http://www.phpfreaks.com/forums/index.php/topic,102837.msg408858.html#msg408858]http://www.phpfreaks.com/forums/index.php/topic,102837.msg408858.html#msg408858[/url] Link to comment https://forums.phpfreaks.com/topic/16449-preview-a-little-buggy/#findComment-68547 Share on other sites More sharing options...
ober Posted August 3, 2006 Share Posted August 3, 2006 As far as the first one, I get some of the same issues when I try to do a quick edit. If I do a full edit, it works fine, and saving it like that seems to work ok as well.As far as the second issue, it may help if you use the actual bb code blocks instead of just using the <?php ?> wrappers. Link to comment https://forums.phpfreaks.com/topic/16449-preview-a-little-buggy/#findComment-68572 Share on other sites More sharing options...
tomfmason Posted August 3, 2006 Author Share Posted August 3, 2006 The color codeing in the code tags only works if I use <?php and ?> other wise they are plain text. So I guess I will use the code tags for full script posts and the php tags for partials.Thanks for the help,Tom Link to comment https://forums.phpfreaks.com/topic/16449-preview-a-little-buggy/#findComment-68591 Share on other sites More sharing options...
ober Posted August 3, 2006 Share Posted August 3, 2006 You can use the <?php ?> inside the code blocks... so I guess I'm not sure what the problem is.[code]<?phpecho "test";?>[/code] Link to comment https://forums.phpfreaks.com/topic/16449-preview-a-little-buggy/#findComment-68594 Share on other sites More sharing options...
tomfmason Posted August 3, 2006 Author Share Posted August 3, 2006 what I meant is when I post a fix for someones code say[code]echo "whatever";[/code]it is plain text so what I will do is use the code blocks for code with <?php ?> and use the php blocks for code with out the <?php ?>[code=php:0]echo "whatever";[/code]Sorry for the mixup,Tom Link to comment https://forums.phpfreaks.com/topic/16449-preview-a-little-buggy/#findComment-68634 Share on other sites More sharing options...
ober Posted August 3, 2006 Share Posted August 3, 2006 Ok, just wanted to make sure we were clear. Link to comment https://forums.phpfreaks.com/topic/16449-preview-a-little-buggy/#findComment-68638 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.