craftcms / craftcms/docs

[Bug]: Nested lists in arguments are not properly parsed.

Open
#721 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
JavaScript
Stars
42
Forks
160
Avg merge
3h 9m
Merged PRs (30d)
4

Description

Page URL

https://docs.craftcms.com/api/v5/craft-web-view.html#method-registerhtml

Client

No response

Description
Details

https://github.com/craftcms/cms/blob/5.x/src/web/View.php#L1045-L1065 shows POS_* argument options as a list.

Arguments are displayed as a list on https://docs.craftcms.com/api/v5/craft-web-view.html#method-registerhtml

POS_* options should be rendered as a nested list.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the registerHtml documentation page and compare its rendered argument list with the POS_* options in src/web/View.php lines 1045-1065. Trace the documentation parser or rendering entry point responsible for that page, then verify that the POS_* options appear as a nested list.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.