0

We have a SharePoint List with a multi-line text column. In this column we have HTML code. When I retrieve the column in an SPListItem, the url is often stripped from the string.

If the SharePoint site is at mysite.com then:

<IMG alt="my alt tag." src="http://mysite.com/PublishingImages/logo.gif">

becomes

<IMG alt="my alt tag." src="/PublishingImages/logo.gif">

Is there a way to prevent this?

0

I don't believe there is a way to stop this. This ensures that the URLs will be accessible regardless of the URL the user used to access the site. Since one site can have multiple addresses, any user will still see the same image regardless of site.

| improve this answer | |
  • Thanks for your answer, and for helping me with the previous version of this question. o____O – Jonathan Matthew Beck Apr 23 '13 at 20:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.