| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 2 different styles of quotes... messing up display. 20 NP$ REWARD PROBLEM SOLVED! - I was missing a stripslashes() function when retrieving the source. It was messy coding, so I overlooked it because i unnecessarily withdrew source code from the database 3 times. I've optimized the code and fixed it! Thanks, legend2! You opened my eyes to what I did not see! 20 NP$ sent ![]() ????: NamePros.com http://www.namepros.com/programming/122624-2-different-styles-quotes-messing-up.html Hi, There are apparently 2 different styles of quotes. Please look here: http://view.gotutorials.com/content.php?tutorial=1 Ignore my stupid comments on there... they're just tests... But notice the highlighting. I use GeSHi (http://qbnz.com/highlighter/) to highlight them... and I don't think you need to know anything about GeSHi to help me answer this, but please let me know how I can replace the first quote (the first quote is unique) as the style of the other ones. Or, vice versa. 20 NP$ reward.
Last edited by compuXP; 09-11-2005 at 06:40 PM.
|
| |
| | #4 (permalink) |
| NamePros Member Join Date: Sep 2005
Posts: 71
![]() | Well, I guess I'm not sure what you are trying to do. If those two quotes are actually different characters (different ascii code), then if you copy and paste it to the other spots it will be the same. It does'nt seem very likely that they are different characters, so the different colors would just be a glitch in that highlighter. It looks to me that when it starts the color sequence, it thinks there is a quote open and the all the code up to the first quote will be the color that is supposed to be inside the quote (black). Try making the very first character in your code a quote and the rest normal. If that isn't what you are talking about, you might want to explain it a little better. |
| |
| | #9 (permalink) |
| NamePros Webmaster ![]() ![]() ![]() Join Date: Feb 2003
Posts: 12,930
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Looks like a GeSHi issue to me. Are you telling GeSHi to highlight it as PHP or HTML? I can't tell how you have it setup, but also consider if you're sending code to GeSHi that has been encoded in hex. If so, you might need to decode it first. http://us2.php.net/manual/en/function.rawurldecode.php |
| |
| | THREAD STARTER #10 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Hey RJ, thanks. But, It's the correct language... http://view.gotutorials.com/content.php?tutorial=6 That's an example of PHP highlighting. Same result. I'm not sending any encoded thing to GeSHi. |
| |
| | THREAD STARTER #12 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Hey, great idea legend2 .... Look: http://view.gotutorials.com/content.php?tutorial=6 The second PHP code snippet... it works. Hmm... |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cheap Names With Prices in $ and NP$ | DomainOgre | Domains For Sale - Fixed Price | 5 | 11-29-2003 02:10 PM |