Forum Discussion

Mark Rackley's avatar
Oct 11, 2017

SharePoint Online Issue with Multiline Plain Text FIelds

There is an issue with Multiline Plain Text Fields in SharePoint Online. If you create a multiline PLAIN TEXT field and put an email address in this field test@test.com, SharePoint magically converts it to 

 

<a href="mailto:test@test.com">test@test.com</a>

 

which is NOT plain text!!! This is not cool and breaks functionality on my site. 

 

To reproduce this error... go to a list.. create a multiline plain text field... put in a value of "test@test.com".  Read the value of that field with REST or look at it in a Quick Edit view... the actual value will be returned as <a href="mailto:test@test.com">test@test.com</a>

7 Replies

      • Pieter Veenstra's avatar
        Pieter Veenstra
        MVP

        Hi Mark Rackley,

         

        In a modern list I added a new multi line list field (from the list view). This is plain text by default:

        Then added an item.

        Then viewed the item:

        All looks right.

        Are you getting the html in the interface or when you access the data through code?