jQuery - Double spaces after period (word processing)

$(document).ready(function() {
var str = $("#content").html().replace(/\. /g, '.  ');
$("#content").html(str);
});