This is a migrated thread and some comments may be shown as answers.

[Solved] problem with image links opening html file

1 Answer 74 Views
Editor
This is a migrated thread and some comments may be shown as answers.
miguel
Top achievements
Rank 1
miguel asked on 23 Feb 2010, 04:58 PM
hi and excuse me for my english i am opening a html and showing into the editor, all ok, but any images i cant see because i dont know why the editor parte any """" between the links and broke the link. For example:
http://www.casetamunicipal.com/"images/bordeprincipal.gif"
i was tryed to remove the " characters in server code but dont work. How can i remove this? whats the problem?  why the editor render this characters?

  Dim sr As New StreamReader(raizfisica, System.Text.Encoding.Default)

        'objStreamReader = File.OpenText(FILENAME)
        Dim contents As StringBuilder = New StringBuilder(sr.ReadToEnd())
        sr.Close()
          
        contents.Replace(""", "") '---- DONT WORK
       Me.RadEditor1.Content = contents.ToString

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 24 Feb 2010, 05:07 PM
Hi Miguel,

You should implement a custom filter similar to this one available in the KB article:
Converting Unicode symbols to numeric HTML entities using a content filter.

You should search for the " entity and replace it with '

Kind regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
miguel
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or