Skip to content

Commit f1f3c04

Browse files
committed
Fix single quotes
1 parent f76cb6d commit f1f3c04

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

gtsam/discrete/DecisionTreeFactor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ namespace gtsam {
226226
stringstream ss;
227227

228228
// Print out preamble.
229-
ss << "<div>\n<table class=\'DecisionTreeFactor\'>\n <thead>\n";
229+
ss << "<div>\n<table class='DecisionTreeFactor'>\n <thead>\n";
230230

231231
// Print out header row.
232232
ss << " <tr>";

gtsam/discrete/DiscreteConditional.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ string DiscreteConditional::html(const KeyFormatter& keyFormatter,
396396
}
397397

398398
// Print out preamble.
399-
ss << "<table class=\'DiscreteConditional\'>\n <thead>\n";
399+
ss << "<table class='DiscreteConditional'>\n <thead>\n";
400400

401401
// Print out header row.
402402
ss << " <tr>";

gtsam/discrete/DiscreteValues.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ string DiscreteValues::html(const KeyFormatter& keyFormatter,
6565
stringstream ss;
6666

6767
// Print out preamble.
68-
ss << "<div>\n<table class=\'DiscreteValues\'>\n <thead>\n";
68+
ss << "<div>\n<table class='DiscreteValues'>\n <thead>\n";
6969

7070
// Print out header row.
7171
ss << " <tr><th>Variable</th><th>value</th></tr>\n";
@@ -76,7 +76,7 @@ string DiscreteValues::html(const KeyFormatter& keyFormatter,
7676
// Print out all rows.
7777
for (const auto& kv : *this) {
7878
ss << " <tr>";
79-
ss << "<th>" << keyFormatter(kv.first) << "</th><td>\'"
79+
ss << "<th>" << keyFormatter(kv.first) << "</th><td>"
8080
<< Translate(names, kv.first, kv.second) << "</td>";
8181
ss << "</tr>\n";
8282
}

gtsam/discrete/tests/testDiscreteValues.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ TEST(DiscreteValues, htmlWithValueFormatter) {
5757
" <tr><th>Variable</th><th>value</th></tr>\n"
5858
" </thead>\n"
5959
" <tbody>\n"
60-
" <tr><th>B</th><td>'-</td></tr>\n"
61-
" <tr><th>A</th><td>'One</td></tr>\n"
60+
" <tr><th>B</th><td>-</td></tr>\n"
61+
" <tr><th>A</th><td>One</td></tr>\n"
6262
" </tbody>\n"
6363
"</table>\n"
6464
"</div>";

0 commit comments

Comments
 (0)