Currently libtranslate with google as a service returns erroneous
markup:
" onmouseover="this.style.backgroundColor='#ebeff9'"
onmouseout="this.style.backgroundColor='#fff'">
To fix this edit:
sudo vim /usr/share/libtranslate/services.xml
And set your pre/post markers to this:
<pre-marker text="<span title="/>
<pre-marker text="onmouseover="/>
<pre-marker text="onmouseout="/>
<pre-marker text=">"/>
<post-marker text="<br></span></span></div>"/>
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/124287
Title:
Google service doesn't work in libtranslate
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtranslate/+bug/124287/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs