Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
from JH on the forums
  • Loading branch information
juliantenney committed Aug 10, 2015
1 parent 9cbe959 commit 78e5cfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Expand Up @@ -79,10 +79,8 @@

var origPassage = x_addLineBreaks(x_currentPageXML.getAttribute("passage"));

if (origPassage.substr(0,3) == '<p>'){
origPassage = origPassage.substr(3);
origPassage = origPassage.substr(0, origPassage.length - 5);
}
origPassage = origPassage.split('<p>').join('');
origPassage = origPassage.split('</p>').join('<br/><br/>');

var passageArray = origPassage.split("|"),
markedWord = false,
Expand Down
2 changes: 1 addition & 1 deletion setup/page4.php
Expand Up @@ -68,7 +68,7 @@ function _debug($string) {
foreach(array('site_url', 'apache', 'mimetypes', 'LDAP_preference', 'LDAP_filter', 'integration_config_path', 'admin_username', 'admin_password', 'site_session_name',
'site_title', 'site_name', 'site_logo', 'organisational_logo','welcome_message', 'site_text', 'news_text', 'pod_one', 'pod_two', 'copyright', 'rss_title',
'synd_publisher', 'synd_rights', 'synd_license', 'demonstration_page', 'form_string', 'peer_form_string', 'module_path', 'website_code_path', 'users_file_area_short',
'php_library_path', 'error_log_path', 'email_error_list', 'error_log_message', 'max_error_size', 'error_email_message', 'max_error_size', 'error_email_message',
'php_library_path', 'error_log_path', 'email_error_list', 'error_log_message', 'error_email_message', 'max_error_size',
'ldap_host', 'ldap_port', 'bind_pwd', 'basedn', 'bind_dn', 'flash_save_path', 'flash_upload_path', 'flash_preview_check_path', 'flash_flv_skin',
'site_email_account', 'headers', 'email_to_add_to_username', 'proxy1', 'port1', 'feedback_list', 'play_edit_preview_query' ) as $field) {

Expand Down

0 comments on commit 78e5cfe

Please sign in to comment.