tag2command over-escaping brackets?
ferfong - November 13, 2008 - 19:59
| Project: | DruTeX |
| Version: | 5.x-1.3 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
in drutex.module:
from _drutex_create_regex , lines 328-339:
switch ($entity->type) {
...
case 'tag2command':
...
$replacement = "\\\\$replacement\{\$2}";It seems that when using tag2command to render PDFs, it generates TeX code like:
\textbf\{text here} instead of \textbf{text here}
Is the tag2command case used anywhere but the PDF rendering?
After unescaping the open bracket in the reported line, our PDFs are generated fine, with HTML properly rendered, but I haven't found exactly what this breaks just yet...
Anyone else encounter this?
Fedora 9
drupal 5.12
using Fedora-distributed httpd, php, etc. packages

#1