View Issue Details

IDProjectCategoryView StatusLast Update
0005395mantisbtbugtrackerpublic2010-04-23 23:22
Reporterjohnwebbcole Assigned Todhx  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionduplicate 
Product Versiongit trunk 
Summary0005395: allow html certain html tags with parameters
Description

In the config, you can allow certain html tags in bugnotes, but it specifically says do not include tags that have parameters (# do NOT include tags that have parameters (eg. <font face="arial">)).

Our logfiles are colorized and can be exported to HTML, here is an example:


<div style="font-family: MS Sans Serif; font-size: 8.5pt; color: red">29-Mar-2005 10:57:18 CuaSecurityMgr::LoadLicenseSettings FATAL! Could not load license settings, could not find entry for machine ZOMBIE2K MAC: 0003FF5EF5FC


</div>
<div style="font-family: MS Sans Serif; font-size: 8.5pt; color: blue">29-Mar-2005 10:57:18 :: No license found for uaMaintenance on this machine.


</div>
<div style="font-family: MS Sans Serif; font-size: 8.5pt; color: black">29-Mar-2005 10:57:18 modMainField::InitMenusAndLayers Initializing state machine...</div>

I'm not sure if the above will work (I have placed the snippet in pre tags) so I'll attach a file as well.

If the <div> tag could be allowed with the style attribute, then we should be able to paste our logs directly into mantis and have the colored properly.

TagsNo tags attached.
Attached Files
logsnippet.html (613 bytes)   
<html>
<body>
<div style="font-family: MS Sans Serif; font-size: 8.5pt; color: red">29-Mar-2005 10:57:18 CuaSecurityMgr::LoadLicenseSettings  *** FATAL!*** Could not load license settings, could not find entry for machine ZOMBIE2K MAC:  0003FF5EF5FC  
<br>
</div>
<div style="font-family: MS Sans Serif; font-size: 8.5pt; color: blue">29-Mar-2005 10:57:18 ::   No license found for uaMaintenance on this machine. 
<br>
</div>
<div style="font-family: MS Sans Serif; font-size: 8.5pt; color: black">29-Mar-2005 10:57:18 modMainField::InitMenusAndLayers Initializing state machine...</div>
</body>
</html>
logsnippet.html (613 bytes)   

Relationships

duplicate of 0010835 new Allow html tags that have parameters. 

Activities

ewyssa

ewyssa

2006-06-19 05:13

reporter   ~0012984

I would wish the same. Especially for snippets of logfiles this would be very usefull.

djcarr

djcarr

2007-06-06 21:02

reporter   ~0014697

Last edited: 2007-06-06 21:03

In Mantis 1.0.1, use of the pre html tag ie. < pre > with too much contained text in a bugnote causes the page to get stuck at that bugnote while loading, churning forever.