Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard Barg 358 posts 532 karma points
    Jul 27, 2012 @ 09:33
    Richard Barg
    0

    Converting "\n" to "<br /> with "Save As Umbraco Document" workflow

    System: Umbraco Version - 4.7.1 ,Windows Server 2008 – 8gb memory – 4 Zeon 2.27Ghz processors service pack 1 – 64 bit OS , IIS version 7.5.7600.16385, SQL Server 2008 R2, Stacktrace - N/A         

    We're using Contour as a front end for users to create a biography in the admin part of Umbraco. We've mapped the fields from Contour to the backend document type and overall it works great.  It limits the number of people we have to train on what is a minor task.

     

    However, the formatting is saved automatically as newlines and therefore all the text in the Contour forms despite appearing outwardly to be paragraphs run together in the Umbraco document, specifically in the Tiny MCE based fields. We would like the newlines converted to <br /> tags. 

    There is a similar issue here: http://our.umbraco.org/forum/umbraco-pro/contour/16940-TextArea-formatting , but in that post the recommendation was to use  "Send xslt transformed email" workflow, which is mutually exclusive to the "save as Umbraco document" workflow.

    Is there a way the newlines can be converted to  <br /> tags using the Save As Umbraco Document Option".

  • Richard Barg 358 posts 532 karma points
    Jul 28, 2012 @ 01:14
    Richard Barg
    0

    Also see this topic where another user makes a similar point:

     

    http://our.umbraco.org/forum/umbraco-pro/contour/32127-Save-as-Umbraco-document

Please Sign in or register to post replies

Write your reply to:

Draft