ballerina-platform / ballerina-central

Ballerina Central Website
Apache License 2.0
104 stars 1 forks source link

Typo in Generated Documentation Code Block: Missing First Letter of the Code #259

Closed Ajai-Suvendran closed 3 weeks ago

Ajai-Suvendran commented 4 weeks ago

Description

In the generated documentation for the ballerinax/financial.iso20022.payment_initiation module on Ballerina Central, there is a typo in the code block where the first letter of a code statement is missing. For example, the word "import" is displayed as "mport," omitting the initial 'i'. However, upon reviewing the module.md file, the code is correctly written, indicating that the issue occurs during the documentation generation process rather than in the source code itself.

Screenshot 2024-10-25 101947

Steps to Reproduce

  1. Pushed the library package to Ballerina Central with my custom Ballerina organization (ajai21) for testing purposes.
  2. Used ajai21/financial.iso20022 to locate the library in Ballerina Central.

The module.md file I used is given below Module.md

Version

2201.10.1

Environment Details (with versions)

No response

sm1990 commented 4 weeks ago

@Ajai-Suvendran Are you using Windows? If you are, can you change the EOL sequence to LF and try again.