﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
3810	Wrong quotation mark after bracket	josepo		"formatting.php sets a closing quotation mark after a bracket, even at the beginning of words. Example:

A dog (""Hubertus"") was sent out.

The first quotation mark will not be formatted properly. This looks especially ugly when using the intypo plugin.

Solution: In formatting.php, replace the line

$dynamic_characters = array('/\'(\d\d(?:&#8217;|\')?s)/', '/(\s|\A|"")\'/', '/(\d+)""/', '/(\d+)\'/', '/(\S)\'([^\'\s])/', '/(\s|\A)""(?!\s)/', '/""(\s|\S|\Z)/', '/\'([\s.]|\Z)/', '/(\d+)x(\d+)/');

with

$dynamic_characters = array('/\'(\d\d(?:&#8217;|\')?s)/', '/(\s|\A|"")\'/', '/(\d+)""/', '/(\d+)\'/', '/(\S)\'([^\'\s])/', '/(\s|\A|\s\(|\A\()""(?!\s)/', '/""(\s|\S|\Z)/', '/\'([\s.]|\Z)/', '/(\d+)x(\d+)/');"	defect (bug)	closed	normal	2.9	Formatting	2.1.1	normal	duplicate		
