/// <summary>
        /// Gets the HTML for a single side.
        /// </summary>
        /// <returns>The HTML for a single side.</returns>
        /// <param name="side">A single side of the diff model.</param>
        /// <param name="reduce">If set to <c>true</c>, reduce to only show the changed lines.</param>
        private string GetSideDiffHTML(SingleSideModel side, bool reduce = false)
        {
            string        model = @"
				<div class=""diffPane"">
				    <table cellpadding=""0"" cellspacing=""0"" class=""diffTable"">
				        {0}
				    </table>
				</div>"                ;
            StringBuilder sb    = new StringBuilder();

            foreach (LineModel lm in side.Lines)
            {
                if (reduce && lm.Type.Equals(ChangeType.Unchanged))
                {
                    continue;
                }
                sb.AppendFormat(@"
		<tr>
            <td class=""lineNumber"">{0}</td>
            <td class=""line {1}Line"">
                <span class=""lineText"">
                    {2}
				</span>
            </td>
        </tr>", lm.Position.HasValue ? lm.Position.ToString() : "&nbsp;", lm.Type.ToString(), GetLineHTML(lm));
            }
            return(String.Format(model, sb.ToString()));
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="CCExtractorTester.DiffTool.SideBySideModel"/> class.
 /// </summary>
 public SideBySideModel()
 {
     FirstText  = new SingleSideModel();
     SecondText = new SingleSideModel();
 }