Merge: doc/commands: extract CmdCode superclass
authorJean Privat <jean@pryen.org>
Thu, 25 Jan 2018 20:16:35 +0000 (15:16 -0500)
committerJean Privat <jean@pryen.org>
Thu, 25 Jan 2018 20:16:35 +0000 (15:16 -0500)
Provides a common super class to factorize code rendering services for doc commands.

Changes:
* renamed `CmdComment::render` to `render_comment` to avoid name conflicts with multiple inheritance
* extracted `CmdCode` command to factorize code related services
* introduced new class `CmdEntityCode`, in place of the old `CmdCode` class
* updated nitx/nitweb clients
* updated tests

Pull-Request: #2609


Trivial merge