Skip to content

Notice viewer does not render URLs in notice xml as HTML anchor tags #96

@rgannu

Description

@rgannu

Notice viewer does not render URLs in notice xml as HTML href anchor tags.

For example,

java -jar target/eforms-notice-viewer-0.12.0-SNAPSHOT-app.jar en eforms-sdk/2.0/examples/notices/cn_24_minimal.xml

The generated HTML contains the URLs as

:
<span class="value">https://etendering.ted.europa.eu/cft/cft-display.html?cftId=5629, </span></section> 
:
:                  
<section title="block0401150302"><span class="label">Address for submission</span><span class="text">: </span>
<span class="value">https://etendering.ted.europa.eu/cft/cft-display.html?cftId=5629</span></section>
:

As it is text, when we create PDF from this generated HTML they are not shown as links.

Instead it needs to be generated as HTML anchor tag
<a href="https://etendering.ted.europa.eu/cft/cft-display.html?cftId=5629">https://etendering.ted.europa.eu/cft/cft-display.html?cftId=5629</a>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions