Use non-breaking space with prepositions #14

Open
opened 2023-01-24 19:31:00 +02:00 by inex · 1 comment
There is no content yet.
Collaborator

Can be fixed by running typograf on the generated html files. It won't work on the source files, because typograf breaks hugo markup. Running this in the public should work for both English and Russian:

find . -type f -name "*.html" | while read -r file; do
    echo "$file"
#   display changes being made
#   typograf -l ru,en-US $file --lint
    typograf -l ru,en-US $file > tmp
    mv tmp $file
    echo "done"
done
Can be fixed by running [typograf](https://github.com/typograf/typograf-cli) on the generated html files. It won't work on the source files, because typograf breaks hugo markup. Running this in the `public` should work for both English and Russian: ``` find . -type f -name "*.html" | while read -r file; do echo "$file" # display changes being made # typograf -l ru,en-US $file --lint typograf -l ru,en-US $file > tmp mv tmp $file echo "done" done ```
Sign in to join this conversation.
No Label
Docs
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org#14
There is no content yet.