view tests/data/quoting.yml @ 325:ab33d51f3412

By default quote the "#" character also because it is typically a comment in all the configuration file formats. Test quoting the "#" also
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 06 May 2021 20:55:43 +0200
parents 98490375d90c
children 5c2c72d26b63
line wrap: on
line source

# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*-
#
# For quoting and unquoting tests
#
%YAML 1.1
---

'#:|%.':
  '.':
    ':':
      '%':
        '|':
          '/':
            '#': 'value'

events:
  'qc-2021.1-5G-summit':
    name: "5G Summit"
    xname: '{{%x23%x3a%x7c%x25%x2e.%u002e.%U0000003a.%x25.%x7c./.%x23}}'
    xref: '{{ref:#%x23%u003a%x7c%U00000025%x2e.%x2e.%x3a.%x25.%x7c./}}'