Opened 15 years ago

Closed 10 years ago

#4853 closed bug (fixed)

non-alphanumeric characters are shown as HTML escape sequences

Reported by: v Owned by: haiku-web
Priority: normal Milestone: R1
Component: Website Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

http://www.haiku-os.org/documents/dev/driver_development_presentation_waltercon_2006
Instead of the non-alphanumeric characters the HTML escape sequences for them are _shown_.

I'd guess this isn't the only page on which this occurs, so maybe this can be solved without awaiting a report for each page.

I'll go into specifics now:

under heading "1. Device File System"
under heading "For development:"

in the sentence
use rescan <driver name> to make sure the system reloads your driver after a recompilation

should be <driver name> instead of &lt;driver name&gt;

under heading "2. Modules"

in the first code block

	module_info *modules[] = {
		(module_info *)&amp;scsi_for_sim_module,
		(module_info *)&amp;scsi_bus_module,
		(module_info *)&amp;scsi_device_module,
		(module_info *)&amp;scsi_bus_raw_module,
		NULL
	};

should be

	module_info *modules[] = {
		(module_info *)&scsi_for_sim_module,
		(module_info *)&scsi_bus_module,
		(module_info *)&scsi_device_module,
		(module_info *)&scsi_bus_raw_module,
		NULL
	};

in the second code block

the lines

		(module_info **)&amp;gManager);
	if (status &lt; B_OK) {

should be

		(module_info **)&gManager);
	if (status < B_OK) {

in the third code block
the lines

		{B_DEVICE_MANAGER_MODULE_NAME, (module_info **)&amp;gManager},
		{LOCKED_POOL_MODULE_NAME, (module_info **)&amp;gLockedPool},

should be

		{B_DEVICE_MANAGER_MODULE_NAME, (module_info **)&gManager},
		{LOCKED_POOL_MODULE_NAME, (module_info **)&gLockedPool},

under heading "4. Interrupts"

the first code block

status = install_io_interrupt_handler(info.pci-&gt;u.h0.interrupt_line,
		&amp;my_interrupt_handler, (void *)&amp;info, 0);

should probably be

status = install_io_interrupt_handler(info.pci->u.h0.interrupt_line,
		&my_interrupt_handler, (void *)&info, 0);}}}

Change History (4)

comment:1 by koki, 15 years ago

Fixed. Thanks!

in reply to:  description comment:2 by v, 15 years ago

You missed a few:

Replying to v:

under heading "2. Modules"

in the second code block

the lines

 		(module_info **)&gManager);
 	if (status &lt; B_OK) {

should be

 		(module_info **)&gManager);
 	if (status < B_OK) {

under heading "4. Interrupts"

the first code block

 status = install_io_interrupt_handler(info.pci-&gt;u.h0.interrupt_line,

should probably be

 status = install_io_interrupt_handler(info.pci->u.h0.interrupt_line,

in reply to:  description comment:3 by v, 15 years ago

Like I thought

I'd guess this isn't the only page on which this occurs, so maybe this can be solved without awaiting a report for each page.

there are more pages with similar issues.

comment:4 by luroh, 10 years ago

Resolution: fixed
Status: newclosed

The original article has been fixed, mostly old forum posts remaining. Closing.

Note: See TracTickets for help on using tickets.