Skip to content

Breaks if a data-field starts with a punctuation mark #3

@johnaweiss

Description

@johnaweiss

Describe the bug
Output is "undefined", and fields get mixed together unpredictably.

To Reproduce

<mt-records>
     NAME
     INFO

     Richard
     , owner of T-Bone Motors...
</mt-records>


<template>
     [[NAME]][[INFO]]
</template>

Expected output
Richard, owner of T-Bone Motors...

Actual output
undefined

Additional context
Probably due to field-delimiter reg ex.

Possible Fix
Add or punctuation to the field-delimiter reg ex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions