#50799 [Opn]: No text mapping for screen

From: Date: Tue, 19 Jan 2010 16:43:45 +0000
Subject: #50799 [Opn]: No text mapping for screen
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3755@lists.php.net to get a copy of this message
ID: 50799 User updated by: pmjones@php.net Reported By: pmjones@php.net Status: Open Bug Type: Doc Build problem Operating System: Mac OS X 10.5.8 PHP Version: 5.3.1 New Comment: Package_Generic_XHTML has 'screen' correctly mapped to 'format_screen', but that's not the issue. The issue is that there is is no *text* mapping for the text of 'screen' elements. Cf. programlisting, which has a $mytextmap['programlisting'] = 'format_programlisting_text'. Something similar is needed for 'screen'; e.g., $mytextmap['screen'] = 'format_screen_text' (which exists but is never called, afaict, since there's no mapping for it). Previous Comments: ------------------------------------------------------------------------ [2010-01-19 16:37:22] rquadling@php.net http://tinyurl.com/yev9q76 ------------------------------------------------------------------------ [2010-01-19 16:36:33] rquadling@php.net http://svn.php.net/viewvc/phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php?view=markup#l211 ------------------------------------------------------------------------ [2010-01-19 16:36:10] rquadling@php.net Package_Generic_XHTML has 'screen' mapped to 'format_screen'. See http://svn.php.net/viewvc/phd/trunk/phpdotnet/phd/Package/Generic/XHTML. php?view=markup#l211 ------------------------------------------------------------------------ [2010-01-19 15:57:56] pmjones@php.net Description: ------------ In Package_Generic_XHTML, the $mytextmap array has no entry for 'screen', meaning that the format_screen_text() method is never called. Easy fix: add $mytextmap['screen'] = 'format_screen_text'. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50799&edit=1

« previous php.doc.bugs (#3755) next »