Skip to content

Suggestion: Resolved in my copy: ";" (semicolon) in a string in a template caused a syntax error #3

@FactEngineCommunity

Description

@FactEngineCommunity

If a Template contained a row such as <<!");"!>>, that would error as a syntax error because the line is split on the RESERVED_SEPERATOR which is ";"

To resolve this I added the following code at line 354. This effectively reattaches the semicolon to the string and amends the array.
For i As Integer = 0 To lines.Count - 1
If lines(i) = Chr(34) And i = lines.Count - 1 And lines.Count > 1 Then
lines(i - 1) &= ";" & Chr(34)
ReDim Preserve lines(i - 1)
End If
Next
NB I have done this in my personal copy of Metadrone, not in this repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions