Use the URI component encoded version of the board name internally.
This commit is contained in:
parent
ef430050c0
commit
aa67e1b58b
@ -1,7 +1,7 @@
|
||||
Get =
|
||||
threadExcerpt: (thread) ->
|
||||
{OP} = thread
|
||||
excerpt = ("/#{thread.board}/ - ") + (
|
||||
excerpt = ("/#{decodeURIComponent thread.board.ID}/ - ") + (
|
||||
OP.info.subject?.trim() or
|
||||
OP.commentDisplay().replace(/\n+/g, ' // ') or
|
||||
OP.file?.name or
|
||||
|
||||
@ -323,6 +323,7 @@ Main =
|
||||
|
||||
for threadRoot in $$(s.thread, board)
|
||||
boardObj = if (boardID = threadRoot.dataset.board)
|
||||
boardID = encodeURIComponent boardID
|
||||
g.boards[boardID] or new Board(boardID)
|
||||
else
|
||||
g.BOARD
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user