Changeset 10573 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-parser.php
- Timestamp:
- 01/13/2021 01:24:14 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-parser.php
r10566 r10573 428 428 $this->sections['faq'] .= "\n<dl>\n"; 429 429 foreach ( $this->faq as $question => $answer ) { 430 $question_slug = sanitize_title_with_dashes( $question);430 $question_slug = rawurlencode( trim( strtolower( $question ) ) ); 431 431 $this->sections['faq'] .= "<dt id='{$question_slug}'><h3>{$question}</h3></dt>\n<dd>{$answer}</dd>\n"; 432 432 } … … 524 524 'ol' => array(), 525 525 'dl' => array(), 526 'dt' => array(), 526 'dt' => array( 527 'id' => true, 528 ), 527 529 'dd' => array(), 528 530 'li' => array(),
Note: See TracChangeset
for help on using the changeset viewer.