Skip to content
Snippets Groups Projects
Commit c1420c4c authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Handle apostrope in quantification field title

parent 3bf59b9d
No related branches found
No related tags found
No related merge requests found
......@@ -352,7 +352,7 @@ var renderObservationTable = function(data)
tbodyHTML.push("<td>" + obs.observationHeading + "</td>");
if(Object.keys(measuredVal).length != 0){
tbodyHTML.push("<td><a tabindex='0' class='btn btn-lg' role='button' data-toggle='popover' data-placement='left' data-trigger='focus' data-html='true' data-content='" + printVal.join("<br/>") + "' ><i class='fa fa-balance-scale' aria-hidden='true' </i></a></td>")
tbodyHTML.push("<td><a tabindex='0' class='btn btn-lg' role='button' data-toggle='popover' data-placement='left' data-trigger='focus' data-html='true' data-content='" + printVal.join("<br/>").replace("'","&apos;") + "' ><i class='fa fa-balance-scale' aria-hidden='true' </i></a></td>")
} else{
tbodyHTML.push("<td></td>")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment