Tweak formatting of 'restrictionsfield-help'
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 18 Jan 2017 01:25:16 +0000 (02:25 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 18 Jan 2017 01:27:53 +0000 (02:27 +0100)
`<pre>` looks better for multiline code blocks than `<code>`.

Before: https://phabricator.wikimedia.org/F5302938
After: https://phabricator.wikimedia.org/F5302939

Change-Id: I1a180fee5e635e5f08c6730a9c390d7c4325ff9d

languages/i18n/en.json

index 1e37d40..68abd7c 100644 (file)
        "usercssispublic": "Please note: CSS subpages should not contain confidential data as they are viewable by other users.",
        "restrictionsfield-badip": "Invalid IP address or range: $1",
        "restrictionsfield-label": "Allowed IP ranges:",
        "usercssispublic": "Please note: CSS subpages should not contain confidential data as they are viewable by other users.",
        "restrictionsfield-badip": "Invalid IP address or range: $1",
        "restrictionsfield-label": "Allowed IP ranges:",
-       "restrictionsfield-help": "One IP address or CIDR range per line. To enable everything, use<br><code>0.0.0.0/0</code><br><code>::/0</code>",
+       "restrictionsfield-help": "One IP address or CIDR range per line. To enable everything, use:<pre>0.0.0.0/0\n::/0</pre>",
        "revid": "revision $1",
        "pageid": "page ID $1"
 }
        "revid": "revision $1",
        "pageid": "page ID $1"
 }