When i add below lines of code in the PDI javascript the img ending tag gets disappeared
Jsoup = org.jsoup.Jsoup;
doc = Jsoup.parse(html);
Below are my source and target outputs :
Please suggest me how to resolve it.
Jsoup = org.jsoup.Jsoup;
doc = Jsoup.parse(html);
Below are my source and target outputs :
Code:
Source :
<div class="col-sm-3"><a title="Microsemi's Ultra-secure SmartFusion2 SoC FPGAs and IGLOO2 FPGAs Recognized on EDN's List of Hot 100 Products of 2014" href="http://www.prnewswire.com/news-releases/microsemis-ultra-secure-smartfusion2-soc-fpgas-and-igloo2-fpgas-recognized-on-edns-list-of-hot-100-products-of-2014-300010576.html" ><img class="list-image" src="http://photos.prnewswire.com/prnthumb/20110909/MM66070LOGO" border="0" alt="Microsemi Corporation." id="img0" /></a></div>
Code:
Wrong Target :
<div class="col-sm-3">
<a title="Microsemi's Ultra-secure SmartFusion2 SoC FPGAs and IGLOO2 FPGAs Recognized on EDN's List of Hot 100 Products of 2014" href="http://www.prnewswire.com/news-releases/microsemis-ultra-secure-smartfusion2-soc-fpgas-and-igloo2-fpgas-recognized-on-edns-list-of-hot-100-products-of-2014-300010576.html"> <img src="http://photos.prnewswire.com/prnthumb/20110909/MM66070LOGO" alt="Microsemi Corporation."> </a>
</div>