Fix: Break line properly into latex when next line starts with `_`
Description
After this MR the slurm profile name was changed from 'slurm_prof_t230419_133346.736582_0'
to 'slurm_prof_230419_133346.736582_0'
this lead to a pdflatex error while creating the reports for DSSC dark and correct.
After the MR suggestions, the tex_escape and split_len have been swapped around while converting the parameter values.
How Has This Been Tested?
This was tested with DSSC dark and correct reference runs.
Relevant Documents (optional)
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
- My code follows the code style of this project.
- I have updated the documentation accordingly.
Reviewers
Edited by Karim Ahmed