Open EmilyGraceSeville7cf opened 1 year ago
Solution: introduce escaping for tags.
Another input page:
# pacman
> Arch Linux package manager utility
> Some subcommands such as `pacman sync` have their own usage documentation
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>
> More information: https://man.archlinux.org/man/pacman.8
- Synchronize and update all packages:
`sudo pacman -Syu`
- Install a new package:
`sudo pacman -S {string value: package_name}`
- Remove a package and its dependencies:
`sudo pacman -Rs {string value: package_name}`
- Search the package database for a regular expression or keyword:
`pacman -Ss "{string value: search_pattern}"`
- List installed packages and versions:
`pacman -Q`
- List only the explicitly installed packages and versions:
`pacman -Qe`
- List orphan packages (installed as dependencies but not actually required by any package):
`pacman -Qtdq`
- Empty the entire pacman cache:
`sudo pacman -Scc`
being "prettified" to this one:
# pacman
> Arch Linux package manager utility
> Some subcommands such as `pacman sync` have their own usage documentation
- Synchronize and update all packages:
`sudo pacman -Syu`
- Install a new package:
`sudo pacman -S {string value: package_name}`
- Remove a package and its dependencies:
`sudo pacman -Rs {string value: package_name}`
- Search the package database for a regular expression or keyword:
`pacman -Ss "{string value: search_pattern}"`
- List installed packages and versions:
`pacman -Q`
- List only the explicitly installed packages and versions:
`pacman -Qe`
- List orphan packages (installed as dependencies but not actually required by any package):
`pacman -Qtdq`
- Empty the entire pacman cache:
`sudo pacman -Scc`
Script being used:
Input page:
Output broken page:
Potentially url in the first string caused such error. I guess
Upload code to https
was interpreted as an unknown tag name. As a result parser thought that there was no description provided for a command.