php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55201 markup markup
Submitted: 2011-07-13 10:28 UTC Modified: 2013-02-18 00:34 UTC
From: philip@php.net Assigned: yannick (profile)
Status: No Feedback Package: Online Doc Editor problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 + 39 = ?
Subscribe to this entry?

 
 [2011-07-13 10:28 UTC] philip@php.net
Description:
------------
The editor has a "markup" option that inserts markup for roles such as "examples" and "errors" but the current markup only 
applies to a refentry, which is not applicable outside of our reference/ area.

Example: Two days ago someone inappropriately inserted an example refsect1 into a chapter, so this broke the build.

I'm not sure the best way to handle this, but the following may (or may not) work:

- When inside refentry, append the current refsect1 info
- Otherwise, remove it and &reftitle.*; but leave the <para>

If that's too much magic, then we could adjust the "markup" button to offer multiple options per type so, for example, have 
"seealso refsect1" and "seealso standard" options. Something like that.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-21 19:17 UTC] yannick@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: yannick
 [2011-07-21 19:17 UTC] yannick@php.net
The first proposal is effectively too magic...

For the second, could you propose me what you thinks about ? witch content ?
You can view what is actually used here :
http://svn.php.net/viewvc/web/doc-editor/trunk/js/ui/cmp/FilePanel.js?view=markup
About line 178, you can view the "text" properties used in the list into the panel, and line 186, the beginning of the content.

Could you please make a proposal to implement ?

Best,
Yannick
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 05:01:27 2024 UTC