Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09/09/2007 10:59 PM by  Peter Donker
HTML line breaks in email
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
lgilber
New Member
New Member
Posts:3


--
09/07/2007 2:32 PM

    I noticed the lines in emails sent out by DMX were all jammed together, like so:

    This email is to notify you of a change to a document that you have been subscribed to. The item following item has been added by Larry Gilbert on Thursday, September 06, 2007 at 4:02 PM:haz.doc (Test Account)To see the document, please go to this page:

    http://s0ddsql01.versopap...e=864&EntryId=10. A Message was sent to the following list: larry.gilbert@versopaper.com

    So, I went to Logging.ascx.resx to see about adding some HTML line breaks.  I discovered that there were some already there, in this format:

    <br/>

    This is typical for anything you want to put in an XML file because, as we all know, you can't use < and > directly in an XML file as they're tag identifiers.  Hence, one must use HTML character entities instead.

    Certainly, if you want an HTML line break in an XSL file, you must use the format
    or else the XSL is not valid.

    However, the "/" character (virgule or forward-slash) was not properly interpreted by my email client, Lotus Notes.  (I was not able to test it in other email clients.)  The solution was simple:  I took out the virules.  The resulting text looked like this:

    This email is to notify you of a change to a document that you have been subscribed to. The following item has been edited on Friday, September 07, 2007 at 7:50 AM

    Title:

    Author:

    To see the document, please go to this page:

    (SuperUser Account)
    Overview of project phases

    http://s0ddsql01.versopap...le=864&EntryId=2

    (I edited the text in Logging.ascx.resx further to meet my desired output style, too.)

    Larry

     

     

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/09/2007 10:59 PM
    Thanks for the info Larry. You might be intrested to know that for DMX 4 the notification is being overhauled and should be easier to adapt and more powerful to tune.
    Peter
    You are not authorized to post a reply.