RE: [PHP-DOC] #20787 [Opn->Asn]: Wrong character in HTML File From: John Coggeshall (john <email protected>)
Date: 12/03/02

>Not sure what you mean. Mark that bug as a duplicate,
>it's been taken care of. I see no #38 in the code nor
>should there be. It will show up in the manual soon.

We're misunderstanding each other... Goto

http://www.php.net/manual/de/language.references.whatdo.php

Line 95 of the source for that page... That shouldn't be like that. The
XML seems right AFAIK, but the actual page itself isn't properly
displaying the & character... What it's doing seems to be converting the
& character in the XML to an '&amp;' (which is right), then converting
the ampersand in '&amp;' to '&#38;'... Hence we end up with:

&#38;amp;

Which renders: &amp

Which is wrong ;)

John

>On Tue, 3 Dec 2002, John Coggeshall wrote:
>
>>
>> Okay... So I took a look at the XML and it looks like it
>checks out to
>> me... I checked out the source for the example:
>>
>> $a =&#38;amp; $b
>>
>> I'm assuming &#38 is the code for the '&' character.... Not exactly
>> sure where this is breaking in the build of the manual,
>Anyone have a
>> clue?
>>
>> John
>>
>>
>> >-----Original Message-----
>> >From: john <email protected> [mailto:john <email protected>]
>> >Sent: Tuesday, December 03, 2002 8:05 AM
>> >To: phpdoc <email protected>
>> >Subject: [PHP-DOC] #20787 [Opn->Asn]: Wrong character in HTML File
>> >
>> >
>> > ID: 20787
>> > Updated by: john <email protected>
>> > Reported By: a_rueckert <email protected>
>> >-Status: Open
>> >+Status: Assigned
>> > Bug Type: Documentation problem
>> > Operating System: Linux
>> > PHP Version: 4.3.0RC2
>> >-Assigned To:
>> >+Assigned To: john
>> > New Comment:
>> >
>> >Thank you for your bug report. This issue has already been
>> >fixed in the latest released version of PHP, which you can
>download at
>> >http://www.php.net/downloads.php
>> >
>> >I'll take care of that.
>> >
>> >
>> >Previous Comments:
>> >---------------------------------------------------------------
>> >---------
>> >
>> >[2002-12-03 07:01:10] a_rueckert <email protected>
>> >
>> >The page http://www.php.net/manual/de/language.references.whatdo.php
>> >seems to HTML escape the &amp; character.
>> >
>> >Instead of
>> >$a =& $b;
>> >, it shows
>> >$a =&amp; $b
>> >
>> >The problems is also in the foo() function example.
>> >
>> >
>> >---------------------------------------------------------------
>> >---------
>> >
>> >
>> >--
>> >Edit this bug report at http://bugs.php.net/?id=20787&edit=1
>> >
>> >
>> >--
>> >PHP Documentation Mailing List (http://www.php.net/)
>> >To unsubscribe, visit: http://www.php.net/unsub.php
>> >
>> >
>>
>>
>> --
>> PHP Documentation Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
>--
>PHP Documentation Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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