@@ -34,7 +34,7 @@ struct HandlebarsOptions
34
34
{
35
35
/* * Escape HTML entities
36
36
*/
37
- bool noHTMLEscape = false ;
37
+ bool noEscape = false ;
38
38
39
39
/* * Templates will throw rather than ignore missing fields
40
40
*/
@@ -1062,7 +1062,7 @@ class Handlebars {
1062
1062
dom::Value const &context,
1063
1063
HandlebarsOptions opt,
1064
1064
partials_map& inlinePartials,
1065
- dom::Object const & private_data ,
1065
+ dom::Object const & data ,
1066
1066
dom::Object const & blockValues) const ;
1067
1067
1068
1068
void
@@ -1073,7 +1073,7 @@ class Handlebars {
1073
1073
dom::Value const &context,
1074
1074
HandlebarsOptions opt,
1075
1075
partials_map& inlinePartials,
1076
- dom::Object const & private_data ,
1076
+ dom::Object const & data ,
1077
1077
dom::Object const & blockValues) const ;
1078
1078
1079
1079
void
@@ -1093,10 +1093,10 @@ class Handlebars {
1093
1093
Handlebars::Tag const & tag,
1094
1094
OutputRef &out,
1095
1095
std::string_view &templateText,
1096
- dom::Value const & data ,
1096
+ dom::Value const & context ,
1097
1097
HandlebarsOptions &opt,
1098
1098
Handlebars::partials_map &inlinePartials,
1099
- dom::Object const & private_data ,
1099
+ dom::Object const & data ,
1100
1100
dom::Object const & blockValues) const ;
1101
1101
1102
1102
void
@@ -1116,7 +1116,7 @@ class Handlebars {
1116
1116
std::string_view &templateText,
1117
1117
dom::Value const & context,
1118
1118
HandlebarsOptions const & opt,
1119
- dom::Object const & private_data ,
1119
+ dom::Object const & data ,
1120
1120
dom::Object const & blockValues) const ;
1121
1121
1122
1122
void
@@ -1277,7 +1277,7 @@ escapeExpression(
1277
1277
{{person/firstname}} {{person/lastname}}
1278
1278
@endcode
1279
1279
1280
- @param data The object to look up the property in
1280
+ @param context The object to look up the property in
1281
1281
@param path The path to the property to look up
1282
1282
1283
1283
@return The value of the property, or nullptr if the property does not exist
@@ -1286,21 +1286,21 @@ escapeExpression(
1286
1286
MRDOX_DECL
1287
1287
std::pair<dom::Value, bool >
1288
1288
lookupProperty (
1289
- dom::Value const &data ,
1289
+ dom::Value const & context ,
1290
1290
std::string_view path);
1291
1291
1292
1292
// / @copydoc lookupProperty
1293
1293
MRDOX_DECL
1294
1294
std::pair<dom::Value, bool >
1295
1295
lookupProperty (
1296
- dom::Object const &data ,
1296
+ dom::Object const & context ,
1297
1297
std::string_view path);
1298
1298
1299
1299
// / @copydoc lookupProperty
1300
1300
MRDOX_DECL
1301
1301
std::pair<dom::Value, bool >
1302
1302
lookupProperty (
1303
- dom::Value const & data ,
1303
+ dom::Value const & context ,
1304
1304
dom::Value const & path);
1305
1305
1306
1306
// / @copydoc lookupProperty
0 commit comments