An item without a title is set in bold like the rest of the list (#498)
The opening words that stand in for a missing title (#116) were set at weight 400, so an unread list of Scripting News beside other feeds read as half bold, half not, and looked broken. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqkrVCCH8YcP2Y3i8VNYWA
This commit is contained in:
@@ -197,7 +197,7 @@ function epEl(e: Entry){
|
||||
<button class="fl${e.flagged?' on':''}" data-a="flag" aria-pressed="${!!e.flagged}" title="${
|
||||
e.flagged?'Unpin':'Pin, so it is never deleted'}">${e.flagged?ICON.pinOn:ICON.pin}</button>
|
||||
<div class="body">
|
||||
<button type="button" class="t${name.derived?' notitle':''}">${e.read?'':'<span class="udot" role="img" aria-label="Unread"></span>'}${esc(name.text)}</button>
|
||||
<button type="button" class="t">${e.read?'':'<span class="udot" role="img" aria-label="Unread"></span>'}${esc(name.text)}</button>
|
||||
<div class="line">${[
|
||||
// On a phone, where the row has no pin button, what says it is pinned (#484).
|
||||
e.flagged&&`<span class="pinmark" role="img" aria-label="Pinned">${ICON.pinOn}</span>`,
|
||||
@@ -275,7 +275,7 @@ const feedName=(id: string|null|undefined): string=>{ const f=S.feeds.find(x=>x.
|
||||
/// What an item is called. Its title, or for one published without (RSS 2.0 makes it optional,
|
||||
/// and Scripting News titles almost none of its posts) the opening of its text, then its file's
|
||||
/// name, then its feed and date: "(untitled)" fifty times down a list said nothing about any of
|
||||
/// them. `derived` marks a name that is not a title, which the list sets as text, not heading.
|
||||
/// them. `derived` marks a name that is not a title, which the reader does not repeat as its text.
|
||||
/// Feed HTML as plain words. An inert document: nothing in it loads or runs, where a detached
|
||||
/// element fetches its images. A line break or paragraph's end is a space, or "2010)<br>Recorded"
|
||||
/// read "2010)Recorded".
|
||||
|
||||
Reference in New Issue
Block a user