mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 04:19:36 +01:00
Also process the last variable in HTMLTemplate::process_template_expression().
This commit is contained in:
parent
dcd00dec81
commit
72c764f74c
@ -394,6 +394,13 @@ method_name_search_done:
|
||||
++i;
|
||||
}
|
||||
|
||||
// Also add the last entry
|
||||
String current_variable_str = variables_str.substr_index(last_variable_end_index, variables_str_length).strip_edges();
|
||||
|
||||
if (!current_variable_str.empty()) {
|
||||
variables.push_back(current_variable_str);
|
||||
}
|
||||
|
||||
String ret;
|
||||
|
||||
// Finally let's just process the variables themselves, and generate the final output
|
||||
|
Loading…
Reference in New Issue
Block a user