Skip to content

fix: the SAST tool checklist in the security guide loses its first two items - #3754

Open
Parhamfakhar1 wants to merge 1 commit into
github:mainfrom
Parhamfakhar1:fix/sast-checklist-list-markers
Open

Parhamfakhar1 wants to merge 1 commit into
github:mainfrom
Parhamfakhar1:fix/sast-checklist-list-markers

Conversation

@Parhamfakhar1

@Parhamfakhar1 Parhamfakhar1 commented Sep 21, 2026

Copy link
Copy Markdown
  • Have you followed the contributing guidelines?
  • Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.


In _articles/security-best-practices-for-your-project.md the checklist under
"How to choose your SAST tool?" starts two criteria short:

How to choose your SAST tool?
Check the license: Some tools are free for open source projects. ...
Check the coverage for your language(s)

* Select one that easily integrates with the tools you already use...
* Beware of False Positives! ...
* Check the features: ...

The first three lines have no blank line and no list marker, so kramdown puts them
in one <p> and the browser collapses them into a run-on sentence, while the list
below starts mid-way. Live:
https://opensource.guide/security-best-practices-for-your-project/
<p>How to choose your SAST tool? Check the license: … Check the coverage for your language(s)</p> followed by a 3-item <ul>.

Making the two criteria list items keeps the list intact and matches the shape that
fa, hi and tr already use — those three translations fixed it per-language. I
checked all 29 copies of this article: 22 of them (English plus 21 translations)
collapse the lead-in and the two criteria into one paragraph, 3 render five list
items with zero unmarked lines, and 4 (ar, ja, sa, zh-hans) phrase the
lead-in so differently that I did not count them either way. The marker has been missing since the article's first draft (8136cb8,
"First draft of Security article"), which is why it spread to so many copies. If you
want, I can push a second commit that repairs the marker in every translation,
touching nothing but the list markers.

No wording changed; node test/prose reports no issues.

In the security best practices guide, the checklist under "How to choose your
SAST tool?" starts two sentences short:

    How to choose your SAST tool?
    Check the license: Some tools are free for open source projects. ...
    Check the coverage for your language(s)

    * Select one that easily integrates with the tools you already use...

Because there is no blank line and no list marker, kramdown emits all three
lines inside a single <p>, so the browser collapses them into one run-on
sentence and the list below starts with "Select one ..." — the reader loses
the first two criteria. This is visible on the live page:
https://opensource.guide/security-best-practices-for-your-project/

The English file has had this since the article's first draft (8136cb8), so
24 translations copied the same broken shape, while fa, hi and tr already
render these two lines as list items. Making them proper list items in the
source matches what the majority of the article already does and brings the
English in line with those three translations.

No wording was changed. `node test/prose` reports no issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant