php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #73051 Improve misleading <literal> markup
Submitted: 2016-09-09 00:36 UTC Modified: 2020-04-09 09:53 UTC
From: cmb@php.net Assigned: cmb (profile)
Status: Duplicate Package: Website problem
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2016-09-09 00:36 UTC] cmb@php.net
Description:
------------
I've just rejected a PhDOE submission for the German
file_put_contents() man page:

> - Der Wert von <parameter>flags</parameter> kann eine Kombination der folgenden Flags sein, verbunden mit dem binären OR(<literal>|</literal>)
> + Der Wert von <parameter>flags</parameter> kann eine Kombination der folgenden Flags sein, verbunden mit dem binären OR(|)

Obviously, the issue is that `|` looks like `/` in italics, what
is confusing. Therefore I suggest to style <literals> differently;
a non-proportional font might be better anyway, and perhaps a
(slightly) different background color would also be appropriate.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-22 16:30 UTC] kalle@php.net
What about a monospace font like Consolas or something?
 [2016-09-22 17:43 UTC] cmb@php.net
> What about a monospace font like Consolas or something?

That would be fine.
 [2020-04-09 09:53 UTC] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2020-04-09 09:53 UTC] cmb@php.net
Closing as duplicate of bug #79133.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC