Opened 7 weeks ago
Last modified 7 weeks ago
#8264 new defect (bug)
Styles for the `pre` tag are displayed incorrectly when parsing the `readme.txt` file
| Reported by: | blackstar1991 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin Directory | Keywords: | |
| Cc: |
Description (last modified by )
Can you please fix the display for a block of code in one line. For example
/wp-json/gigroute-events/v1/events
on page site https://wordpress.org/plugins/gigroute-events/ transfor in this
Added scrolling elements where they are not needed
or fpr next blocks in plugin
/wp-json/gigroute-events/v1/events
/wp-json/gigroute-events/v1/events?mode=upcoming
/wp-json/gigroute-events/v1/events?mode=all&year=2026
/wp-json/gigroute-events/v1/events?mode=all&year=2026&month=4
/wp-json/gigroute-events/v1/events?country=ukraine&city=kyiv&event_type=concert
/wp-json/gigroute-events/v1/events?start=2026-04-01&end=2026-04-30
/wp-json/gigroute-events/v1/events?mode=all&page=2&per_page=20
set up for
pre {
overflow: auto;
}
Attachments (1)
Change History (3)
#2
@
7 weeks ago
Windows 10 Chrome 148
I see this styles for tag pre
https://s.w.org/wp-content/themes/pub/wporg-plugins-2024/css/style.css?ver=1774331365
pre {
background-color: #f7f7f7;
border: 1px solid var(--wp--preset--color--light-grey-1);
overflow: scroll;
padding: 20px;
}
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)


@blackstar1991 What browser/OS are you using? I'll attach what I currently see.