mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Terminate named character references properly
must be terminated with semicolon, just like any other named character reference Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5723cfc1d0
commit
3bbac30c1b
1 changed files with 10 additions and 10 deletions
|
@ -205,14 +205,14 @@ function getlimited(dive)
|
|||
function getExpanded(dive)
|
||||
{
|
||||
var res = '<table><tr><td class="words">Date: </td><td>' + dive.date +
|
||||
'</td><td class="words">     Time: </td><td>' + dive.time +
|
||||
'</td><td class="words">     Location: </td><td>' + '<a onclick=\"Search_list_Modules(\'' + dive.location + '\')\">' +
|
||||
'</td><td class="words"> Time: </td><td>' + dive.time +
|
||||
'</td><td class="words"> Location: </td><td>' + '<a onclick=\"Search_list_Modules(\'' + dive.location + '\')\">' +
|
||||
dive.location + '</a>' +
|
||||
'</td></tr></table><table><tr><td class="words">Rating:</td><td>' + putRating(dive.rating) +
|
||||
'</td><td class="words">   Visibilty:</td><td>' + putRating(dive.visibility) +
|
||||
'</td><td class="words"> Visibilty:</td><td>' + putRating(dive.visibility) +
|
||||
'</td></tr></table>' +
|
||||
'<table><tr><td class="words">Air temp: </td><td>' + dive.temperature.air +
|
||||
'</td><td class="words">    Water temp: </td><td>' + dive.temperature.water +
|
||||
'</td><td class="words"> Water temp: </td><td>' + dive.temperature.water +
|
||||
'</td></tr></table><table><tr><td class="words">DiveMaster: </td><td>' + dive.divemaster +
|
||||
'</td></tr><tr><td class="words"><p>Buddy: </p></td><td>' + dive.buddy +
|
||||
'</td></tr><tr><td class="words">Suit: </td><td>' + dive.suit +
|
||||
|
@ -741,14 +741,14 @@ function get_bookmarks_HTML(dive)
|
|||
function get_dive_HTML(dive)
|
||||
{
|
||||
return '<h2 class="det_hed">Dive Information</h2><table><tr><td class="words">Date: </td><td>' + dive.date +
|
||||
'</td><td class="words">     Time: </td><td>' + dive.time +
|
||||
'</td><td class="words">     Location: </td><td>' + '<a onclick=\"Search_list_Modules(\'' + dive.location + '\')\">' +
|
||||
'</td><td class="words"> Time: </td><td>' + dive.time +
|
||||
'</td><td class="words"> Location: </td><td>' + '<a onclick=\"Search_list_Modules(\'' + dive.location + '\')\">' +
|
||||
dive.location + '</a>' +
|
||||
'</td></tr></table><table><tr><td class="words">Rating:</td><td>' + putRating(dive.rating) +
|
||||
'</td><td class="words">   Visibilty:</td><td>' + putRating(dive.visibility) +
|
||||
'</td><td class="words"> Visibilty:</td><td>' + putRating(dive.visibility) +
|
||||
'</td></tr></table>' +
|
||||
'<table><tr><td class="words">Air temp: </td><td>' + dive.temperature.air +
|
||||
'</td><td class="words">    Water temp: </td><td>' + dive.temperature.water +
|
||||
'</td><td class="words"> Water temp: </td><td>' + dive.temperature.water +
|
||||
'</td></tr></table><table><tr><td class="words">DiveMaster: </td><td>' + dive.divemaster +
|
||||
'</td></tr><tr><td class="words"><p>Buddy: </p></td><td>' + dive.buddy +
|
||||
'</td></tr><tr><td class="words">Suit: </td><td>' + dive.suit +
|
||||
|
@ -762,8 +762,8 @@ function get_dive_HTML(dive)
|
|||
function get_status_HTML(dive)
|
||||
{
|
||||
return '<h2 class="det_hed">Dive Status</h2><table><tr><td class="words">Sac: </td><td>' + dive.sac +
|
||||
'</td><td class="words">     Otu: </td><td>' + dive.otu +
|
||||
'</td><td class="words">     Cns: </td><td>' + dive.cns +
|
||||
'</td><td class="words"> Otu: </td><td>' + dive.otu +
|
||||
'</td><td class="words"> Cns: </td><td>' + dive.cns +
|
||||
'</td></tr></table>';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue