Prevent __FUEL_MARKER__X from being output?
Hi,
I am currently developing a solution that will allow a user to manage a set of data for input into a javascript function, however if I add this as a fuel variable, I get a __FUEL_MARKER__X comment in the middle of my data string.
Code:
var slider={};
slider.data=[
<?php echo fuel_var('slider_data', ''); ?>
];
Obviously, I need to turn off the fuel markers, if at all possible. Thoughts?
Comments
fuel_var($key, $default = '', $edit_module = 'pages', $evaluate = TRUE)
If you empty out $edit_module there with an empty string or NULL it should empty the markers:
var slider={}; slider.data=[ <?php echo fuel_var('slider_data', '', NULL); ?> ];