1. grep -r -l '<q>' >/PATH/filename.txt
-l, --files-with-matches
Suppress normal output; instead print the name of each input file from which output would normally have been printed. Scanning each input file stops upon first match.
2. sed -i 's/<q>//g' contribute/translators/wordlist.da.xhtml freesoftware/freesoftware.ar.xhtml freesoftware/gnuproject.da.xhtml activities/ms-vs-eu/CEC-C-2004-900-final.pdf activities/swpat/nortel.en.xhtml activities/avm-gpl-violation/avm-gpl-violation.de.xhtml activities/pdfreaders/follow-up.de.xhtml activities/ada-zangemann/data/reviews/1291-kauffmann.fr.xml
3. sed -i 's/<\/q>//g' contribute/translators/wordlist.da.xhtml freesoftware/freesoftware.ar.xhtml freesoftware/gnuproject.da.xhtml activities/ms-vs-eu/CEC-C-2004-900-final.pdf activities/swpat/nortel.en.xhtml activities/avm-gpl-violation/avm-gpl-violation.de.xhtml activities/pdfreaders/follow-up.de.xhtml activities/ada-zangemann/data/reviews/1291-kauffmann.fr.xml
Reviewed-on: #5873
Reviewed-by: tobiasd <181+tobiasd@fsfe.org>
Co-authored-by: bonnie <bonnie@fsfe.org>
Co-committed-by: bonnie <bonnie@fsfe.org>
NL translation of some missing book reviews, of the letters and the drawings.
Reviewed-on: #5595
Co-authored-by: Nico Rikken <nico.rikken@fsfe.org>
Co-committed-by: Nico Rikken <nico.rikken@fsfe.org>
I translated all the current pages into Hebrew, we still have some RTL fixes to do.
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: tobiasd <tobiasd@fsfe.org>
Reviewed-on: #5570
Co-authored-by: yaron <yaron@fsfe.org>
Co-committed-by: yaron <yaron@fsfe.org>
Currently implements both a format hook to remove white-space paragraphs, and a check to make their existence a critical failure.
In the end may implement only one or none of these, subject to major design changes.
Solves #5409
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5431
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
Allow specifying a subject in our email element.
Eg the xhtml content
```xml
<email mailto="yes" subject="Ada and Zangemann">contact@fsfe.org</email>
```
Will now generate
```xml
<a href="mailto:contact@fsfe.org?subject=Ada and Zangemann">contact@fsfe.org</a>
```
Which when clicked will open an email client, and correctly populate the subject.
I also added the subject to all ada zangemann pages, and have documented it on the web features page.
Resolves #2742
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5281
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
update docs
update nix-shell to auto install
rework custom pre-commit hooks to integrate better
add dockerfile for lefthook and integrate into drone
add some more hooks for formatting and linting some files
Co-authored-by: Darragh Elliott <me@delliott.net>
Reviewed-on: #5248
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>