Project

General

Profile

Support #5753

img tag problem in XHTMLUnsafeText

Added by Tor Jensen over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/08/2017
Due date:
% Done:

0%

Estimated time:

Description

Hi

Is there any reason version 1 renders an image in the browser but version 2 does not (note that in version 2 the image is in the correct location, and as per the http response appears to be retrieved successfully)...

version 1:

WText* img_txt_=new WText(\"

Here is an image..

\", XHTMLUnsafeText,this);

version 2:

WText* img_txt_=new WText(\"

Here is an image..

<img class=\"img_50\" src=\

\"q3p_banner_v3.jpg\" alt=\"Image\"/>

\", XHTMLUnsafeText,this);

httpd output:

0.0.1.2 - - [2017-Jun-07 21:04:53.280024] "GET /trading/q3p_banner_v3.jpg HTTP/1.1" 200 2677

[2017-Jun-07 21:04:53.280067] 3878 - [info] "WebRequest: took 0.797ms"

10.0.1.2 - - [2017-Jun-07 21:04:53.332710] "POST /trading?wtd=1rBQmDK19sEQiQLN HTTP/1.1" 200 49

Thanks

No data to display

Also available in: Atom PDF