r90198 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90197‎ | r90198 | r90199 >
Date:09:18, 16 June 2011
Author:ning
Status:deferred
Tags:
Comment:
update WOM version to v1.0
Modified paths:
  • /trunk/extensions/WikiObjectModel/includes/models/WOM_OM_Table.php (modified) (history)
  • /trunk/extensions/WikiObjectModel/includes/models/WOM_OM_TblCell.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiObjectModel/includes/models/WOM_OM_TblCell.php
@@ -43,6 +43,7 @@
4444
4545 protected function getXMLAttributes() {
4646 $prefix = str_replace( "\n", '\n', $this->m_prefix );
 47+ $prefix = str_replace( '"', "'", $prefix );
4748 return "prefix=\"{$prefix}\"";
4849 }
4950 }
Index: trunk/extensions/WikiObjectModel/includes/models/WOM_OM_Table.php
@@ -38,6 +38,7 @@
3939 }
4040
4141 protected function getXMLAttributes() {
42 - return "style=\"{$this->m_style}\"";
 42+ $style = str_replace( '"', "'", $this->m_style );
 43+ return "style=\"{$style}\"";
4344 }
4445 }

Status & tagging log