Skip to content

templates/topbar: remove whitespace from file path - #435

Open
fstachura wants to merge 1 commit into
bootlin:masterfrom
fstachura:remove-topbar-ws
Open

templates/topbar: remove whitespace from file path#435
fstachura wants to merge 1 commit into
bootlin:masterfrom
fstachura:remove-topbar-ws

Conversation

@fstachura

Copy link
Copy Markdown
Collaborator

Topbar path contains whitespace that is visible after selecting, copying and pasting the path. This commit removes the whitespace.

Closes: #434

Topbar path contains whitespace that is visible after selecting,
copying and pasting the path. This commit removes the whitespace.

Closes: bootlin#434
Comment thread templates/topbar.html
@@ -1,11 +1,13 @@
<header class="topbar">
<div class="breadcrumb">
{#- This line removes leading whitespace from copied path -#}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awkward, one of the alternatives I see is just removing all newlines from contents of the breadcrub div. After some time we will probably forget about it, somebody will reformat the file and the path will again have leading whitespace...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unwanted spaces in the filepath and filename in the search menubar

1 participant