[yast-commit] r67566 - in /trunk/qt-pkg: VERSION.cmake package/yast2-qt-pkg.changes src/YQPkgDescriptionView.cc
Author: tgoettlicher Date: Tue Mar 6 14:37:06 2012 New Revision: 67566 URL: http://svn.opensuse.org/viewcvs/yast?rev=67566&view=rev Log: Fixed bnc#691572: Formatting Package Descriptions (2.21.19) Modified: trunk/qt-pkg/VERSION.cmake trunk/qt-pkg/package/yast2-qt-pkg.changes trunk/qt-pkg/src/YQPkgDescriptionView.cc Modified: trunk/qt-pkg/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/VERSION.cmake?rev=67566&r1=67565&r2=67566&view=diff ============================================================================== --- trunk/qt-pkg/VERSION.cmake (original) +++ trunk/qt-pkg/VERSION.cmake Tue Mar 6 14:37:06 2012 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "21") -SET(VERSION_PATCH "18") +SET(VERSION_PATCH "19") Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.changes?rev=67566&r1=67565&r2=67566&view=diff ============================================================================== --- trunk/qt-pkg/package/yast2-qt-pkg.changes (original) +++ trunk/qt-pkg/package/yast2-qt-pkg.changes Tue Mar 6 14:37:06 2012 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Mar 6 14:36:45 CET 2012 - tgoettlicher@suse.de + +- Fixed bnc#691572: Formatting Package Descriptions +- Version: 2.21.19 + +------------------------------------------------------------------- Thu Jan 19 16:19:19 CET 2012 - tgoettlicher@suse.de - Fixed bnc #734763: yast2 sw_single software management with QT ui Modified: trunk/qt-pkg/src/YQPkgDescriptionView.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgDescriptionView.cc?rev=67566&r1=67565&r2=67566&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgDescriptionView.cc (original) +++ trunk/qt-pkg/src/YQPkgDescriptionView.cc Tue Mar 6 14:37:06 2012 @@ -164,6 +164,11 @@ { QString line = htmlEscape( *it ).trimmed(); + if ( line.startsWith("* ") || line.startsWith("- ") || line.startsWith("# ") ) + { + line = "<li>" + line + "</li>"; + } + if ( line.startsWith( "Authors:" ) ) { line = "<p><b>" + line + "</b><ul>"; @@ -183,6 +188,9 @@ html_text += " " + line; } + + + ++it; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
tgoettlicher@svn2.opensuse.org