SOGo | BTS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002410SOGoWeb Mailpublic2013-09-09 06:552013-09-27 14:44
Reportermdghost 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.0.7 
Target Version2.1.0Fixed in Version2.1.0 
Summary0002410: HTML as Signature
DescriptionCannot to set html signature via "sogo-tool set defaults %username% SOGoMailSignature -f %fileName%"
HTML content is properly added to database. But 'in new mail editor' there is stripped text.
For example: I have in file: {"SOGoMailSignature":
"<html><body><table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\"><tr><td>aaaaaaaaaa</td> <td>bbbbbbbbbbbb</td><td>ccccccccccc</td></tr><tr><td>ddddddddddd</td><td>eeeeeeeeeeeee</td><td>fffffffffffff</td></tr><tr><td>ggggggggg</td> <td>hhhhhhhhh</td><td>iiiiiiiii</td></tr></table></body></html>"}

In the database i have:
"SOGoMailSignature": "<html><body><table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td>aaaaaaaaaa<\/td> <td>bbbbbbbbbbbb<\/td> <td>ccccccccccc<\/td> <\/tr> <tr> <td>ddddddddddd<\/td> <td>eeeeeeeeeeeee<\/td> <td>fffffffffffff<\/td> <\/tr> <tr> <td>ggggggggg<\/td> <td>hhhhhhhhh<\/td> <td>iiiiiiiii<\/td> <\/tr><\/table><\/body><\/html>"

But in the "new mail window" i have:"aaaaaaaaaabbbbbbbbbbbbccccccccccc
dddddddddddeeeeeeeeeeeeefffffffffffff
ggggggggghhhhhhhhhiiiiiiiii";

I checked variation with/without tags:<html></html>,<body></body>
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0006064)
ludovic (administrator)
2013-09-27 14:44

Fixed with https://github.com/inverse-inc/sogo/commit/d1f3417c3a22615ee438c59224942e40dfa27535 [^]

This was due to the fact that table widgets were disabled in CKEditor.

- Issue History
Date Modified Username Field Change
2013-09-09 06:55 mdghost New Issue
2013-09-27 14:39 ludovic Target Version => 2.1.0
2013-09-27 14:44 ludovic Note Added: 0006064
2013-09-27 14:44 ludovic Status new => closed
2013-09-27 14:44 ludovic Resolution open => fixed
2013-09-27 14:44 ludovic Fixed in Version => 2.1.0


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker