Skip to content

Sentence issue #7

@johnnymast

Description

@johnnymast

Hi,

While developing Rivescript-php I found yet another issue. This time it's in the playground.

+ sentence test 2
- roger this is: {sentence}first sentence with ucfirst. this is the second sentence with ucfirst{/sentence}

translates to

Bot: roger this is: First sentence with ucfirst. this is the second sentence with ucfirst

This is incorrect according to the docs this should translate to

Bot: roger this is: First sentence with ucfirst. This is the second sentence with ucfirst

How to fix:

Fix the code accordingly maybe trim the sentences. I have the same problem in the PHP version, I might trim the sentences I don't know yet.

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