CuteEditor stripping out # symbols in href

Last post 03-07-2005, 9:48 PM by timross. 2 replies.
Sort Posts: Previous Next
  •  03-07-2005, 6:03 PM 4448

    CuteEditor stripping out # symbols in href

    Hi there,
     
    I am currently developing an online Mailing system using CuteEditor to compose Html email messages. I require data placeholders to be placed inline with content. The placeholders are replaced with Member data when the email is sent out.

    An example of a placeholder is: ##MemberID##. This would be replaced with the recipient's Member ID as each email is sent out.
     
    My problem is with using the placeholders within hrefs. CuteEditor seems to be stripping out the "#" symbols when I switch to Html mode then back to Normal mode.
     
    For example:
    http://www.cutesoft.net/example/unsubscribe.aspx?Member=##MemberID##
    When placed inside an href, and the view is changed to Html mode, the link becomes:
    http://www.cutesoft.net/example/unsubscribe.aspx?Member=#MemberID
    i.e. Only one "#" symbol remains.

    I have tried this using the Online demo and the same thing happens. I could use another placeholder symbol, such as "$$" or something, but I was wondering if there was any quick solution to this, as I have already written the search-and-replace code.

    Any help in this matter would be greatly appreciated.
     
    Regards,
    Tim Ross
  •  03-07-2005, 8:38 PM 4450 in reply to 4448

    Re: CuteEditor stripping out # symbols in href

    I generally try to staw away from using ## in code as much as possible.  Damn cold fusion introduced it I think.
  •  03-07-2005, 9:48 PM 4453 in reply to 4450

    Re: CuteEditor stripping out # symbols in href

    Good point Bunce, thanks for that
     
    I think I'll just use a different symbol.
View as RSS news feed in XML