Skip to content

up directory file path syntax breaks MUST sentence parsing #17

Open
@texastony

Description

There is a bug in duvet with how it handles . in file path vs sentences.

duvet looks for key words (MUST. SHOULD, etc.) and extracts sentences or statements with these key words. But the sentence detection logic is fooled by the "directory before" syntax ../.

Previously, the `duvet statement was:

./client-apis/
client.md#commitment-policy) on the request MUST be added as the
 algorithm suite in the encryption materials returned.

Which makes no sense, but now that the MUST is before the file reference:

*  If the encryption materials request (cmm-interface.md#encryption-
materials-request) does not contain an algorithm suite, the
operation MUST add the default algorithm suite for the commitment
policy (../client-apis/client.md#commitment-policy) as the
 algorithm suite in the encryption materials returned.

I conclude that whatever detects the beginning of a KEYWORD statement is confused/fooled by the ../ notation.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions