[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] com phd: Revert "Fixed bug #44498 (RTL manual entries display issues)": package.xml phpdot
From:       Kalle Sommer Nielsen <kalle () php ! net>
Date:       2018-07-23 19:15:51
Message-ID: php-mail-1f72d3b6b9035a52da512491ef89c090357867440 () git ! php ! net
[Download RAW message or body]

Commit:    118b4c15de6ff45e856ec9b8b229fc5fcc1e8fa4
Author:    Kalle Sommer Nielsen <kalle@php.net>         Mon, 23 Jul 2018 21:15:51 +0200
Parents:   0cffbf99a466ee74068aeaad63c9f9fc5fd2761d
Branches:  master

Link:       http://git.php.net/?p=phd.git;a=commitdiff;h=118b4c15de6ff45e856ec9b8b229fc5fcc1e8fa4

Log:
Revert "Fixed bug #44498 (RTL manual entries display issues)"

This reverts commit 0cffbf99a466ee74068aeaad63c9f9fc5fd2761d.

Bugs:
https://bugs.php.net/44498

Changed paths:
  M  package.xml
  M  phpdotnet/phd/Package/PHP/XHTML.php


Diff:
diff --git a/package.xml b/package.xml
index 8cf90a3..484a2ef 100644
--- a/package.xml
+++ b/package.xml
@@ -71,13 +71,12 @@
   </stability>
   <license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license>
   <notes>
-    - Added new language translations: (Kalle)
-      . Norwegian (Bokmål)
-    - Updated language translations: (Kalle)
-      . Danish
-      . Swedish
-    - Fixed bug #44498 (RTL manual entries display issues). (Kalle)
-    - Fixed bug #66408 (Wrong style file in chm documentation). (Andy Burton)
+    Added new language translations: (Kalle)
+     - Norwegian (Bokmål)
+    Updated language translations: (Kalle)
+     - Danish
+     - Swedish
+    Fixed bug#66408 (Wrong style file in chm documentation). (Andy Burton)
   </notes>
 
   <contents>
diff --git a/phpdotnet/phd/Package/PHP/XHTML.php b/phpdotnet/phd/Package/PHP/XHTML.php
index bc03724..48f60df 100644
--- a/phpdotnet/phd/Package/PHP/XHTML.php
+++ b/phpdotnet/phd/Package/PHP/XHTML.php
@@ -1,4 +1,4 @@
-<?php
+<?php
 namespace phpdotnet\phd;
 
 abstract class Package_PHP_XHTML extends Package_Generic_XHTML {
@@ -19,7 +19,6 @@ abstract class Package_PHP_XHTML extends Package_Generic_XHTML {
         'phpdoc:classref'       => 'format_class_chunk',
         'phpdoc:exceptionref'   => 'format_class_chunk',
         'phpdoc:varentry'       => 'format_varentry_chunk',
-	'programlisting'	=> 'format_programlisting',
         'refentry'              => 'format_chunk',
         'reference'             => 'format_container_chunk',
         'refpurpose'            => 'format_refpurpose',
@@ -737,19 +736,6 @@ abstract class Package_PHP_XHTML extends Package_Generic_XHTML {
         return $this->format_container_chunk($open, "reference", $attrs, $props);
     }
 
-    public function format_programlisting($open, $name, $attrs) {
-        if ($open) {
-            if (isset($attrs[Reader::XMLNS_DOCBOOK]["role"])) {
-                $this->role = $attrs[Reader::XMLNS_DOCBOOK]["role"];
-            } else {
-                $this->role = false;
-            }
-
-            return '<div class="example-contents" dir="ltr">';
-        }
-        $this->role = false;
-        return "</div>\n";
-    }
 }
 
 /*


--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic