Affected by GO-2022-1065
and 3 other vulnerabilities
GO-2022-1065: Gitea vulnerable to Argument Injection in code.gitea.io/gitea
GO-2023-1894: code.gitea.io/gitea Open Redirect vulnerability
GO-2023-1999: Gitea erroneous repo clones in code.gitea.io/gitea
GO-2024-3056: Gitea Cross-site Scripting Vulnerability in code.gitea.io/gitea
package
Version:
v1.16.9
Opens a new window with list of versions in this module.
Published: Jun 21, 2022
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 241
Opens a new window with list of known importers.
Documentation
¶
Code returns a HTML version of code string with chroma syntax highlighting classes
CodeFromLexer returns a HTML version of code string with chroma syntax highlighting classes
File returns a slice of chroma syntax highlighted lines of code
NewContext loads custom highlight map from local config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.