Inserted newlines in code block selections due to "user-select: none"
Open
Nobody has claimed this yet.
documentation
help wanted
- Dominant language
- HTML
- Stars
- 26
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
A strange behaviuor when I copy & paste the code block from the web page:
rendered text:
$ BASE=ppp-multi-image
$ DEV=sdb # i.e. sdb or mmcblk0
$ ATTR=RequiredPartition,LegacyBIOSBootable
$ SIZE=11GiB
copied & pasted text:
BASE=ppp-multi-image
DEV=sdb # i.e. sdb or mmcblk0
ATTR=RequiredPartition,LegacyBIOSBootable
SIZE=11GiB
Every line add a new-line.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the copy-and-paste behavior on a rendered code block, then inspect the Hugo-generated HTML and its CSS, especially the selection styling. Done means copying the displayed block produces one line per command without inserted blank lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html, hugo
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100