Menu

#98 change a pipe

None
closed
None
3
2020-11-20
2017-08-30
Anonymous
No

Hello Olivier. I have another question. I'm trying to change a pipe (family=Abel|Source+Sans+Pro) to the encoding %7C (family=Abel%7CSource+Sans+Pro) but I cannot figure out a way to make it. This would enable me to respect the W3C guidelines when calling multiple Google fonts. Thank you.

Discussion

  • Olivier Wehner

    Olivier Wehner - 2017-09-04
    • assigned_to: Olivier Wehner
    • Group: -->
     
  • Olivier Wehner

    Olivier Wehner - 2017-09-04

    The pipe symbol must be escaped because it is a regular expression controle character.
    FIND: |
    REPLACE: %7C
    will do.

    Best regards,

    Olivier

     
  • Olivier Wehner

    Olivier Wehner - 2020-11-20
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB