![]() |
You really ought to try the disable codes sometime. That has got to be my favorite hacks of all time. Chen has it working here. :) It sure saves a lot of headaches and parsing problems.
Quote:
|
Quote:
|
Quote:
|
Yes, but it worked fine for Chen and I when we used it. :)
Quote:
|
Chen used the [code]tag[/code]. The problem with slashes seems to be when using the [php]tag[/php]. :)
|
Quote:
|
The problem may actually lay with the highlight_string() function.
Possibly doing a highlight_string(str_replace('\\', '\\\\', $data)) might fix it. |
You're right. I didn't try that. Strange that it would work fine for the code tags and not PHP. :)
Quote:
|
The only difference between those two 'quotes' is that the [php] tag makes use of the highlight_string().
Presumely its strips out any slashes it sees. |
Let's see if I managed to fix this...
PHP Code:
|
All times are GMT. The time now is 06:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|