Hey Pazza:
I just wanted to see if you would be able to update the HTML history viewer with valid HTML as the <font> element is deprecated (to become obsolete in HTML5).
I generated an example of what the conversation would look like in a valid markup so that it would be rendered the same:
<!-- invalid HTML markup -->
[10/22/2009]
<br><font color='#ffa900'>23:58</font><font color='#8f08c2'> [Wonderboy]: i know you =0</font>
<br><font color='#ffa900'>23:58</font><font color='#ff14fc'> [Beichte]: in the mountains</font>
<!-- valid HTML markup for WIM -->
<span class="date">10/22/2009</span>
<p class="sender"><time>23:58</time><span class="sender">Wonderboy</span>i know you =0</p>
<p class="receiver"><time>23:58</time><span class="receiver">Beichte</span>in the mountains</p>
This block of CSS would just need to be placed once at the head of the history to be copy/pasted to the proper place in the HTML:
<style type="text/css">
p.sender, p.receiver
{
margin: 0;
}
.sender
{
color: #8f08c2;
}
span.sender:before, span.receiver:before, span.date:before
{
content: "[";
}
span.sender:after, span.receiver:after
{
content: "]: ";
}
.receiver
{
color: #ff14fc;
}
time
{
color: #ffa900;
margin-right: .2em;
}
span.date
{
color: white;
}
span.date:after
{
content: "]";
}
</style>
White space can obviously be changed for the coding; I just have it there for readability.
I have it up @ http://jimholby.kicks-ass.org/WoW/randomChats.html if you want to see how the validated code looks.
Thanks for your time and a great addon!