Skip to content

Commit

Permalink
Postulate that snippet tags be closed
Browse files Browse the repository at this point in the history
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
  • Loading branch information
carmenbianca committed Sep 26, 2024
1 parent 9b43b81 commit 8327670
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion site/content/en/spec-3.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,14 @@ An example of a comment header:
#### In-line Snippet comments

Sometimes Licensing Information only applies to a certain Snippet instead of the
whole Commentable File. For these cases SPDX snippet tags MUST be used for that
whole Commentable File. For these cases, SPDX snippet tags MUST be used for that
Snippet (as defined in [SPDX Specification, Annex
H](https://spdx.github.io/spdx-spec/v2.3/file-tags/#h3-snippet-tags-format)).
This means that Copyright Notices inside of Snippets MUST be prefixed with
`SPDX-SnippetCopyrightText`.

Each Snippet that is opened MUST be closed with `SPDX-SnippetEnd`.

Like with comment headers, the SPDX snippet tags SHOULD be commented.

A Snippet SHOULD contain both a Copyright Notice and an SPDX License Expression.
Expand Down

0 comments on commit 8327670

Please sign in to comment.