Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 207567 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/mylyn/internal/jira/ui/html/HTML2TextReader.java (-2 / +4 lines)
Lines 88-94 Link Here
88
88
89
	/**
89
	/**
90
	 * Transforms the HTML text from the reader to formatted text.
90
	 * Transforms the HTML text from the reader to formatted text.
91
	 * 
91
	 *
92
	 * @param reader
92
	 * @param reader
93
	 *            the reader
93
	 *            the reader
94
	 * @param presentation
94
	 * @param presentation
Lines 140-146 Link Here
140
	@Override
140
	@Override
141
	protected String computeSubstitution(int c) throws IOException {
141
	protected String computeSubstitution(int c) throws IOException {
142
142
143
		if (c == '<')
143
		if (c == -1) {
144
			return null;
145
		} else if (c == '<')
144
			return processHTMLTag();
146
			return processHTMLTag();
145
		else if (fIgnore)
147
		else if (fIgnore)
146
			return EMPTY_STRING;
148
			return EMPTY_STRING;

Return to bug 207567