* Graham * tiaxgame what was this for ? showing the number of entries ?
We are adding a special function for that it will be live later <xt:guestbook_count /> (not working yet but in a few hours) and as for the original problem if you do not need it to represent a mathematical equation try using something other than - and there is no problem
$data=(8:2)
print $data
2014-04-17 11:20 (edited 2014-04-17 11:28 by Graham ) · (0)
* tiaxgame * Graham yes!
Problem is
Var $data = <xt:guestbook />
Print $data
=> (8-2)
Allway bar 6
I want fix it
2014-04-17 12:37 · (0)
* Graham * tiaxgame I do not know your full code so I have no idea
2014-04-17 16:02 · (0)
* tiaxgame * Graham http://aichat.wap.sh/guestbook
You can test with comment as (10-2)
2014-04-18 01:07 · (0)
* Graham * tiaxgame  
Ok I have found a solution and I am also giving you a whole new toy to play with
You need to install the guestbooks twig file

1/ create a folder named _xtgem_templates
2/ create a plain text file named xtguestbook.twig in _xtgem_templates
3/ go to this page and copy the code for the twig file to xtguestbook.twig
Open and edit with code editor only
4/ in the xtguestbook.twig file find line 49
<div class="xt_blog_comment_content">{{ comment.message|raw }}</div>
5/ replace that line with
<div class="xt_blog_comment_content">{{ comment.message|replace({'(': "&#40;", ')': "&#41;"})|raw }}</div>

The documentation for twig is at http://twig.sensiolabs.org/doc/templates.html

This will replace ( and ) in posts with &#40; and &#41;

There is also a twig file for the blog this goes in the same folder and is named xtblog.twig
The code is at
https://dl.dropboxusercontent.com/u/2162515/xtgem_blog.twig

have fun
test page http://guestbook.yn.lt
2014-04-18 02:39 (edited 2014-04-18 03:15 by Graham ) · (0)
* tiaxgame * Graham thanks!
2014-04-18 03:05 · (0)

Online: Guests: 1