Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

luParser sectionHandler update wrong body #964

@zhixzhan

Description

@zhixzhan

Versions

What CLI version are you using.
What Nodejs version are you using
What command-line interpreters are you using
What OS are you using

Describe the bug

Give a clear and concise description of what the bug is.

  1. have a QnA file include model info options:
> !# @source.urls = https://download

<a id = "1"></a>

# ? who is the ceo?

'''
Sorry, I don't know.
'''

  1. insert an empty section works fine
> !# @source.urls = https://download


# ?
'''

'''
<a id = "1"></a>

# ? who is the ceo?

'''
Sorry, I don't know.
'''
  1. updated this section with
# ? how
'''

'''

result turn out to be:

> !# @source.urls = https://download


# ? how
'''

'''
'''  // unexpected insert
<a id = "1"></a>

# ? who is the ceo?

'''
Sorry, I don't know.
'''

and in parse result Body also not correct.
Screen Shot 2020-09-04 at 12 45 11 PM

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Give a clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

[bug]

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